clburlison / puppet-outset

Puppet module to install and manage outset
MIT License
0 stars 0 forks source link

Better defaults write #3

Closed clburlison closed 8 years ago

clburlison commented 8 years ago

Should update the following line in remove_once.sh#L10 to

/usr/bin/su -u "${USER_HOME}" /usr/bin/defaults delete com.github.outset.once.plist /usr/local/outset/login-once/$1

hat tip to schwieb for showing this in the #microsoft-office channel in the MacAdmins Group.

clburlison commented 8 years ago

Close but wrong:

/usr/bin/sudo -s -u "${USER_HOME}" /usr/bin/defaults delete /Users/"${USER_HOME}"/Library/Preferences/com.github.outset.once /usr/local/outset/login-once/$1