Ver Fonte

Update MacInitial.sh

MoeClub há 4 anos atrás
pai
commit
6859aac6c9
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      MacInitial.sh

+ 2 - 2
MacInitial.sh

@@ -217,9 +217,9 @@ RENAMEBIN "/usr/sbin/spindump"
 # Disable Update Notice
 echo -e "\n# Disable Update Notice ..."
 if [ -f "/usr/bin/sudo" ]; then
-sudo find "/System/Library/PrivateFrameworks/SoftwareUpdate.framework" -type f -name "SoftwareUpdateNotificationManager" |xargs -t -I "{}" sudo chmod 644 "{}"
+sudo find "./System/Library/PrivateFrameworks/SoftwareUpdate.framework" -type f -name "SoftwareUpdateNotificationManager" |xargs -t -I "{}" sudo chmod 644 "{}"
 else
-find "/System/Library/PrivateFrameworks/SoftwareUpdate.framework" -type f -name "SoftwareUpdateNotificationManager" |xargs -t -I "{}" chmod 644 "{}"
+find "./System/Library/PrivateFrameworks/SoftwareUpdate.framework" -type f -name "SoftwareUpdateNotificationManager" |xargs -t -I "{}" chmod 644 "{}"
 fi