diff --git a/files/etc/ublue-update.d/user/04-brew-update.sh b/files/etc/ublue-update.d/user/04-brew-update.sh new file mode 100644 index 0000000..cb61d0f --- /dev/null +++ b/files/etc/ublue-update.d/user/04-brew-update.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +if command -v /var/home/linuxbrew/.linuxbrew/bin/brew; then + /var/home/linuxbrew/.linuxbrew/bin/brew update --auto-update +fi diff --git a/files/etc/ublue-update.d/user/20-brew-update.sh b/files/etc/ublue-update.d/user/20-brew-update.sh deleted file mode 100644 index 85a549c..0000000 --- a/files/etc/ublue-update.d/user/20-brew-update.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -if command -v brew; then - brew update - brew upgrade -fi