From 7b2ba75adb62fad9c7f0063519b81b7e6ffcc3d1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 30 Dec 2025 10:14:12 +0200 Subject: [PATCH] deb-update.bash: throw in linuxbrew-permissions.{service,timer} as well --- bash/deb-update.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index 9a27091..0849999 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -76,6 +76,12 @@ if [[ -f /etc/systemd/system/linuxbrew-update.timer && $(id -u) == 0 ]]; then if hash systemctl 2> /dev/null; then systemctl enable linuxbrew-update.timer systemctl start linuxbrew-update.service + # Technically this should be first, but it's probably rarer than my + # above unit and I am yet to experience issues anyway. + if [[ -f /etc/systemd/system/linuxbrew-permissions.timer ]]; then + systemctl enable linuxbrew-permissions.timer + systemctl start linuxbrew-permissions.service + fi fi elif [[ -d /home/linuxbrew/.linuxbrew/bin && $(id -u) != 0 ]]; then eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)