mirror of
https://github.com/munki/munki.git
synced 2026-04-22 20:48:36 -05:00
Added ! to installer_item to make it less likely someone uses this as filename
This commit is contained in:
@@ -592,7 +592,7 @@ def installWithInfo(
|
||||
% (display_name, itemindex, len(installlist)))
|
||||
|
||||
# Check if packageless install
|
||||
if item["installer_item"] != 'packageless_install':
|
||||
if item["installer_item"] != '!packageless_install!':
|
||||
|
||||
itempath = os.path.join(dirpath, item["installer_item"])
|
||||
if not os.path.exists(itempath):
|
||||
|
||||
@@ -1682,7 +1682,7 @@ def processInstall(manifestitem, cataloglist, installinfo):
|
||||
else:
|
||||
# Packageless install
|
||||
download_speed = 0
|
||||
filename = 'packageless_install'
|
||||
filename = '!packageless_install!'
|
||||
|
||||
iteminfo['download_kbytes_per_sec'] = download_speed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user