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:
Greg Neagle
2010-10-13 17:57:54 +00:00
parent efdd7628bd
commit 2330ddfc70
+1 -1
View File
@@ -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