Lines 48-54
Link Here
|
48 |
__uniqlist__.append(pkgline) |
48 |
__uniqlist__.append(pkgline) |
49 |
return True |
49 |
return True |
50 |
|
50 |
|
51 |
world_file = os.path.join(portage.const.EPREFIX, portage.WORLD_FILE) |
51 |
world_file = os.path.join("/", portage.WORLD_FILE) |
52 |
|
52 |
|
53 |
# show a little description if we have arguments |
53 |
# show a little description if we have arguments |
54 |
if len(sys.argv) >= 2 and sys.argv[1] in ["-h", "--help"]: |
54 |
if len(sys.argv) >= 2 and sys.argv[1] in ["-h", "--help"]: |
Lines 100-104
Link Here
|
100 |
print("add to world:",myfavkey) |
100 |
print("add to world:",myfavkey) |
101 |
worldlist.append(myfavkey) |
101 |
worldlist.append(myfavkey) |
102 |
|
102 |
|
103 |
portage.write_atomic(os.path.join(portage.const.EPREFIX, portage.WORLD_FILE), |
103 |
portage.write_atomic(os.path.join("/", portage.WORLD_FILE), |
104 |
"\n".join(sorted(worldlist)) + "\n") |
104 |
"\n".join(sorted(worldlist)) + "\n") |