mirror of
https://github.com/munki/munki.git
synced 2026-02-08 00:00:12 -06:00
Merge pull request #473 from dayglojesus/make_makecatalogs_follow_symlinks
follow symlinks when walking pkgs and pkgsinfo
This commit is contained in:
@@ -167,7 +167,7 @@ def makecatalogs(repopath, options):
|
||||
catalogs['all'] = []
|
||||
|
||||
# Walk through the pkginfo files
|
||||
for dirpath, dirnames, filenames in os.walk(pkgsinfopath):
|
||||
for dirpath, dirnames, filenames in os.walk(pkgsinfopath, followlinks=True):
|
||||
for dirname in dirnames:
|
||||
# don't recurse into directories that start
|
||||
# with a period.
|
||||
@@ -234,7 +234,7 @@ def makecatalogs(repopath, options):
|
||||
do_pkg_check = False
|
||||
if pkginfo.get('PackageURL'):
|
||||
do_pkg_check = False
|
||||
|
||||
|
||||
|
||||
if do_pkg_check:
|
||||
if not 'installer_item_location' in pkginfo:
|
||||
|
||||
Reference in New Issue
Block a user