From 4105ee313e20b388182d54c9ac196a88bab53a29 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 18 Apr 2024 11:39:42 +0200 Subject: [PATCH] fix upgrades script --- .local/bin/upgrades | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/upgrades b/.local/bin/upgrades index c193d9460..f86e85363 100755 --- a/.local/bin/upgrades +++ b/.local/bin/upgrades @@ -2,7 +2,7 @@ script="sudo xbps-install -Su; pkill -RTMIN+8 dwmblocks" -if [ -n "$TERM_PROGRAM" ]; then +if [ -n "$TERM" ]; then sh -c "$script" else st -e sh -c "