mirror of
https://github.com/munki/munki.git
synced 2026-04-22 20:48:36 -05:00
changed getLSInstalledApplications() to ignore paths beginning with '/Volumes/' instead of those beginning with '/Volumes'.
git-svn-id: http://munki.googlecode.com/svn/trunk@788 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -1203,7 +1203,7 @@ def getLSInstalledApplications():
|
||||
if status != 0:
|
||||
continue
|
||||
app_path = fsobj.as_pathname()
|
||||
if not app_path.startswith('/Volumes'):
|
||||
if not app_path.startswith('/Volumes/'):
|
||||
applist.append(app_path)
|
||||
|
||||
return applist
|
||||
|
||||
Reference in New Issue
Block a user