diff --git a/home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.sh.tmpl index 22bcd0a1..f35f5b85 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_41-vagrant-vmware-utility.sh.tmpl @@ -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 -}} diff --git a/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.sh.tmpl index de910b68..3baa3ee8 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.sh.tmpl @@ -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 -}} diff --git a/home/.chezmoiscripts/universal/run_onchange_after_57-netdata.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_57-netdata.sh.tmpl index 2dea592b..7ac7c20c 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_57-netdata.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_57-netdata.sh.tmpl @@ -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 -}} diff --git a/home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.sh.tmpl index 9eca1f58..8f23b56c 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_94-bash-it.sh.tmpl @@ -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 diff --git a/home/Library/LaunchDaemons/run_onchange_after_launch-daemons.sh.tmpl b/home/Library/LaunchDaemons/run_onchange_after_launch-daemons.sh.tmpl index 10b001b6..3c72b566 100644 --- a/home/Library/LaunchDaemons/run_onchange_after_launch-daemons.sh.tmpl +++ b/home/Library/LaunchDaemons/run_onchange_after_launch-daemons.sh.tmpl @@ -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