This commit is contained in:
Brian Zalewski 2023-06-14 07:22:59 +00:00
parent ad58479e49
commit e81b978d95
5 changed files with 12 additions and 7 deletions

View file

@ -37,8 +37,8 @@ if command -v vagrant > /dev/null && command -v vmware-id > /dev/null; then
fi
fi
else
logg warn 'Vagrant is not installed so the Vagrant plugins will not be installed'
logg warn 'Vagrant or VMWare is not installed so the Vagrant VMWare utility will not be configured'
logg info 'Vagrant is not installed so the Vagrant plugins will not be installed'
logg info 'Vagrant or VMWare is not installed so the Vagrant VMWare utility will not be configured'
fi
{{ end -}}

View file

@ -37,7 +37,7 @@ if command -v VirtualBox > /dev/null; then
logg info 'VirtualBox Extension pack is already installed'
fi
else
logg warn 'VirtualBox is not installed so VirtualBox Extension pack will not be installed'
logg info 'VirtualBox is not installed so VirtualBox Extension pack will not be installed'
fi
{{ end -}}

View file

@ -104,7 +104,7 @@ if command -v netdata-claim.sh > /dev/null; then
fi
fi
else
logg warn '`netdata-claim.sh` is not available in the PATH'
logg info '`netdata-claim.sh` is not available in the PATH'
fi
{{ end -}}

View file

@ -11,7 +11,8 @@
### Ensure Powerline is installed
if ! command -v powerline > /dev/null; then
install-software powerline
logg info 'Installing powerline via install-software'
install-software powerline > /dev/null
fi
### Bash-it completions / plugins

View file

@ -1,6 +1,10 @@
#!/usr/bin/env bash
### Enable automated updates on macOS
if [ -f "$HOME/Library/LaunchDaemons/com.apple.automatedupdates.plist" ]; then
sudo launchctl load "$HOME/Library/LaunchDaemons/com.apple.automatedupdates.plist"
if [ -d /Applications ] && [ -d /System ]; then
if [ -f "$HOME/Library/LaunchDaemons/com.apple.automatedupdates.plist" ] && [ ! -f "/Library/LaunchDaemons/com.apple.automatedupdates.plist" ]; then
sudo mkdir -p /Library/LaunchDaemons
sudo cp -f "$HOME/Library/LaunchDaemons/com.apple.automatedupdates.plist" "/Library/LaunchDaemons/com.apple.automatedupdates.plist"
sudo launchctl load "/Library/LaunchDaemons/com.apple.automatedupdates.plist"
fi
fi