mirror of
https://github.com/munki/munki.git
synced 2025-12-30 19:20:10 -06:00
Update make_munki_mpkg* scripts to properly stage and package all the needed Python files in munkilib.
This commit is contained in:
@@ -289,10 +289,11 @@ chmod -R 755 "$COREROOT/usr"
|
||||
# edit this if list of tools changes!
|
||||
for TOOL in launchapp logouthelper managedsoftwareupdate supervisor ptyexec removepackages
|
||||
do
|
||||
cp -X "$MUNKIROOT/code/client/$TOOL" "$COREROOT/usr/local/munki/" 2>&1
|
||||
cp -X "$MUNKIROOT/code/client/$TOOL" "$COREROOT/usr/local/munki/" 2>&1
|
||||
done
|
||||
# Copy python library.
|
||||
cp -X "$MUNKIROOT/code/client/munkilib/"*.py "$COREROOT/usr/local/munki/munkilib/"
|
||||
# Copy python libraries.
|
||||
#cp -X "$MUNKIROOT/code/client/munkilib/"*.py "$COREROOT/usr/local/munki/munkilib/"
|
||||
rsync -a --exclude '*.pyc' --exclude '.DS_Store' "$MUNKIROOT/code/client/munkilib/" "$COREROOT/usr/local/munki/munkilib/"
|
||||
# Copy munki version.
|
||||
cp -X "$MUNKIROOT/code/client/munkilib/version.plist" "$COREROOT/usr/local/munki/munkilib/"
|
||||
# svnversion file was used when we were using subversion
|
||||
|
||||
@@ -291,8 +291,9 @@ for TOOL in launchapp logouthelper managedsoftwareupdate supervisor ptyexec remo
|
||||
do
|
||||
cp -X "$MUNKIROOT/code/client/$TOOL" "$COREROOT/usr/local/munki/" 2>&1
|
||||
done
|
||||
# Copy python library.
|
||||
cp -X "$MUNKIROOT/code/client/munkilib/"*.py "$COREROOT/usr/local/munki/munkilib/"
|
||||
# Copy python libraries.
|
||||
#cp -X "$MUNKIROOT/code/client/munkilib/"*.py "$COREROOT/usr/local/munki/munkilib/"
|
||||
rsync -a --exclude '*.pyc' --exclude '.DS_Store' "$MUNKIROOT/code/client/munkilib/" "$COREROOT/usr/local/munki/munkilib/"
|
||||
# Copy munki version.
|
||||
cp -X "$MUNKIROOT/code/client/munkilib/version.plist" "$COREROOT/usr/local/munki/munkilib/"
|
||||
# svnversion file was used when we were using subversion
|
||||
|
||||
Reference in New Issue
Block a user