Closed axot closed 7 years ago
(Homebrew Cask maintainer here) No, don't do this.
In your script, pass in sudo and renew it before installing pkg-based apps. ie. https://github.com/vitorgalvao/dotfiles/blob/master/scripts/00_setup.sh#L5 and https://github.com/vitorgalvao/dotfiles/blob/master/scripts/02_apps.sh#L23
I want add a cron job for automatic brew cask upgrade, something like virtualbox need super user privilege for installation. Does this possible achievable?