Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

userdefaults should handle deleting and adding keys #27

Open
kameghamegha opened this issue May 25, 2017 · 0 comments
Open

userdefaults should handle deleting and adding keys #27

kameghamegha opened this issue May 25, 2017 · 0 comments

Comments

@kameghamegha
Copy link

kameghamegha commented May 25, 2017

Here is an example of an execute statement I haven't been able to put into the userdefaults resource and I believe I should be able to:

execute 'Disable automatic login' do
  command 'defaults delete /Library/Preferences/com.apple.loginwindow '\
          'autoLoginUser'
  only_if 'defaults read /Library/Preferences/com.apple.loginwindow | '\
          'grep "autoLoginUser"'
 end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant