mirror of
https://github.com/munki/munki.git
synced 2026-04-23 13:29:26 -05:00
Build app pkg with preinstall script
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IFPkgDescriptionTitle</key>
|
||||
<string>Managed Software Update</string>
|
||||
<string>Managed Software Center</string>
|
||||
<key>IFPkgDescriptionDescription</key>
|
||||
<string>Managed Software Update application.</string>
|
||||
<string>Managed Software Center application.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# remove any Managed Software Update.app bundle since the installer
|
||||
# won't replace a bundle with a symlink, leading to yucky stuff like
|
||||
# "/Applications/Utilities/Managed Software Update.app 1"
|
||||
|
||||
if [ -d "$3/Applications/Utilities/Managed Software Update.app" ] ; then
|
||||
/bin/rm -r "$3/Applications/Utilities/Managed Software Update.app"
|
||||
fi
|
||||
|
||||
if [ -d "$3/Applications/Utilities/Managed Software Update.app 1" ] ; then
|
||||
/bin/rm -r "$3/Applications/Utilities/Managed Software Update.app 1"
|
||||
fi
|
||||
Reference in New Issue
Block a user