Lines 54-60
Link Here
|
54 |
return portage.settings['CONFIG_PROTECT'] |
54 |
return portage.settings['CONFIG_PROTECT'] |
55 |
|
55 |
|
56 |
elif pm == "paludis": |
56 |
elif pm == "paludis": |
57 |
cmd="paludis --log-level silent --no-color --environment-variable %s/%s CONFIG_PROTECT" % (cat,pn) |
57 |
cmd="cave print-id-environment-variable -b --format '%%v\n' --variable-name CONFIG_PROTECT %s/%s" % (cat,pn) |
58 |
|
58 |
|
59 |
fi, fo, fe = os.popen3(cmd) |
59 |
fi, fo, fe = os.popen3(cmd) |
60 |
fi.close() |
60 |
fi.close() |
Lines 99-105
Link Here
|
99 |
pn = config.maybe_get('pn') |
99 |
pn = config.maybe_get('pn') |
100 |
|
100 |
|
101 |
if cat and pn: |
101 |
if cat and pn: |
102 |
cmd="paludis --log-level silent --no-color --environment-variable %s/%s ROOT" % (cat,pn) |
102 |
cmd="cave print-id-environment-variable -b --format '%%v\n' --variable-name ROOT %s/%s" % (cat,pn) |
103 |
|
103 |
|
104 |
fi, fo, fe = os.popen3(cmd) |
104 |
fi, fo, fe = os.popen3(cmd) |
105 |
fi.close() |
105 |
fi.close() |
Lines 143-149
Link Here
|
143 |
|
143 |
|
144 |
elif pm == "paludis": |
144 |
elif pm == "paludis": |
145 |
|
145 |
|
146 |
cmd="paludis --best-version %s" % (full_name) |
146 |
cmd="cave print-best-version '%s'" % (full_name) |
147 |
|
147 |
|
148 |
fi, fo, fe = os.popen3(cmd) |
148 |
fi, fo, fe = os.popen3(cmd) |
149 |
fi.close() |
149 |
fi.close() |