diff --git a/code/apps/Managed Software Center/Managed Software Center/main.py b/code/apps/Managed Software Center/Managed Software Center/main.py index 37c919da..fb18e2a6 100644 --- a/code/apps/Managed Software Center/Managed Software Center/main.py +++ b/code/apps/Managed Software Center/Managed Software Center/main.py @@ -12,7 +12,8 @@ import AppKit from PyObjCTools import AppHelper -# import modules containing classes required to start application and load MainMenu.nib +# import modules containing classes required to start application and +# MainMenu.nib import MSCAppDelegate import MSCMainWindowController import MSCPasswordAlertController diff --git a/code/tools/make_munki_mpkg.sh b/code/tools/make_munki_mpkg.sh index 0a1a6584..45a67600 100755 --- a/code/tools/make_munki_mpkg.sh +++ b/code/tools/make_munki_mpkg.sh @@ -392,7 +392,6 @@ NFILES=$(echo `find $ADMINROOT/ | wc -l`) makeinfo admin "$PKGTMP/info" "$PKGID" "$VERSION" $ADMINSIZE $NFILES norestart - ################### ## /Applications ## ################### @@ -402,8 +401,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" +mkdir -m 775 "$APPROOT/Applications" # Copy Managed Software Center application. cp -R "$MSCAPP" "$APPROOT/Applications/" # Copy MunkiStatus helper app @@ -412,8 +410,6 @@ cp -R "$MSAPP" "$APPROOT/Applications/Managed Software Center.app/Contents/Resou cp -R "$NOTIFIERAPP" "$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`) diff --git a/code/tools/make_munki_mpkg_DEP.sh b/code/tools/make_munki_mpkg_DEP.sh index d60a9521..a95f0054 100755 --- a/code/tools/make_munki_mpkg_DEP.sh +++ b/code/tools/make_munki_mpkg_DEP.sh @@ -392,7 +392,6 @@ NFILES=$(echo `find $ADMINROOT/ | wc -l`) makeinfo admin "$PKGTMP/info" "$PKGID" "$VERSION" $ADMINSIZE $NFILES norestart - ################### ## /Applications ## ################### @@ -402,8 +401,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" +mkdir -m 775 "$APPROOT/Applications" # Copy Managed Software Center application. cp -R "$MSCAPP" "$APPROOT/Applications/" # Copy MunkiStatus helper app @@ -412,8 +410,6 @@ cp -R "$MSAPP" "$APPROOT/Applications/Managed Software Center.app/Contents/Resou cp -R "$NOTIFIERAPP" "$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`)