Поддержка make.profile в /etc/portage

master3.3 3.2.0_alpha5
Mike khiretskiy 10 years ago
parent 233a176c97
commit 469db5c3a7

@ -143,6 +143,7 @@ class DistroRepository(Linux):
def listdistr(pathname):
if path.exists(path.join(pathname,'etc/make.profile')) or \
path.exists(path.join(pathname,'etc/portage/make.profile')) or \
path.exists(path.join(pathname,'livecd')) or \
pathname.startswith('/dev/'):
return [pathname]

Loading…
Cancel
Save