|
@@ -190,6 +190,14 @@ ENABLEALL "./System/Library/LaunchDaemons"
|
|
|
# Enable /System/Library/LaunchAgents
|
|
|
ENABLEALL "./System/Library/LaunchAgents"
|
|
|
|
|
|
+# Enable Update Check
|
|
|
+echo -e "\n# Enable Update Check ..."
|
|
|
+if [ -f "/usr/bin/sudo" ]; then
|
|
|
+sudo find "/System/Library/CoreServices/Software Update.app" -type f -name "softwareupdated" |xargs -t -I "{}" sudo chmod 755 "{}"
|
|
|
+else
|
|
|
+find "/System/Library/CoreServices/Software Update.app" -type f -name "softwareupdated" |xargs -t -I "{}" chmod 755 "{}"
|
|
|
+fi
|
|
|
+
|
|
|
# Enable and Exit
|
|
|
# exit 0
|
|
|
|
|
@@ -224,5 +232,6 @@ sudo find "/System/Library/CoreServices/Software Update.app" -type f -name "soft
|
|
|
else
|
|
|
find "/System/Library/CoreServices/Software Update.app" -type f -name "softwareupdated" |xargs -t -I "{}" chmod 644 "{}"
|
|
|
fi
|
|
|
+
|
|
|
# Finish
|
|
|
echo -e "\n# Finish! \n"
|