mirror of
https://github.com/munki/munki.git
synced 2026-04-23 21:40:25 -05:00
Revert "Merge pull request #502 from munki/msulink"
This reverts commit6bb4936be8, reversing changes made toc2239c5de8.
This commit is contained in:
@@ -174,7 +174,7 @@ echo " metapackage version: $MPKGVERSION"
|
||||
echo
|
||||
|
||||
# Build Managed Software Center.
|
||||
echo "Building Managed Software Center.xcodeproj..."
|
||||
echo "Building Managed Software Update.xcodeproj..."
|
||||
pushd "$MUNKIROOT/code/apps/Managed Software Center" > /dev/null
|
||||
/usr/bin/xcodebuild -project "Managed Software Center.xcodeproj" -alltargets clean > /dev/null
|
||||
/usr/bin/xcodebuild -project "Managed Software Center.xcodeproj" -alltargets build > /dev/null
|
||||
@@ -368,6 +368,7 @@ echo "Creating applications package template..."
|
||||
# Create directory structure.
|
||||
APPROOT="$PKGTMP/munki_app"
|
||||
mkdir -m 1775 "$APPROOT"
|
||||
mkdir -p "$APPROOT/Applications/Utilities"
|
||||
chmod -R 775 "$APPROOT/Applications"
|
||||
# Copy Managed Software Center application.
|
||||
cp -R "$MSCAPP" "$APPROOT/Applications/"
|
||||
@@ -375,6 +376,8 @@ cp -R "$MSCAPP" "$APPROOT/Applications/"
|
||||
cp -R "$MSAPP" "$APPROOT/Applications/Managed Software Center.app/Contents/Resources/"
|
||||
# make sure not writeable by group or other
|
||||
chmod -R go-w "$APPROOT/Applications/Managed Software Center.app"
|
||||
# make a symlink for the old MSU.app
|
||||
ln -s "../Managed Software Center.app" "$APPROOT/Applications/Utilities/Managed Software Update.app"
|
||||
# Create package info file.
|
||||
APPSIZE=`du -sk $APPROOT | cut -f1`
|
||||
NFILES=$(echo `find $APPROOT/ | wc -l`)
|
||||
|
||||
Reference in New Issue
Block a user