prioritize /usr/local above other potential paths like /opt/local - TODO: make configurable
This commit is contained in:
parent
a688c36fdb
commit
c13e2eab8d
1 changed files with 4 additions and 1 deletions
|
@ -101,6 +101,9 @@ def sort_paths(items,priority):
|
|||
path_types['frameworks'].append(i)
|
||||
# various 'local' installs like /usr/local or /opt/local
|
||||
elif 'local' in i or '/sw' in i:
|
||||
if '/usr/local' in i:
|
||||
path_types['user'].insert(0,i)
|
||||
else:
|
||||
path_types['user'].append(i)
|
||||
# key system libs (likely others will fall into 'other')
|
||||
elif '/usr/' in i or '/System' in i or '/lib' in i:
|
||||
|
|
Loading…
Reference in a new issue