浏览代码

Update MacInitial.sh

MoeClub 4 年之前
父节点
当前提交
6859aac6c9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      MacInitial.sh

+ 2 - 2
MacInitial.sh

@@ -217,9 +217,9 @@ RENAMEBIN "/usr/sbin/spindump"
 # Disable Update Notice
 # Disable Update Notice
 echo -e "\n# Disable Update Notice ..."
 echo -e "\n# Disable Update Notice ..."
 if [ -f "/usr/bin/sudo" ]; then
 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
 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
 fi