Fix permissions for /usr/local/afpfs-ng-mac

This commit is contained in:
mabam 2020-12-20 05:02:07 +01:00
parent 802be32814
commit 7b0cafb7d4
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
# change ownership of GUI so it is writable for mounting
sudo chown -R 501 /usr/local/afpfs-ng-mac
# check if AppleScript menu active
if grep -q 'Script Menu.menu' ~/Library/Preferences/com.apple.systemuiserver.plist