aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Distro_update.sh
diff options
context:
space:
mode:
authorMartin Guzman <55927935+brockar@users.noreply.github.com>2026-01-24 19:45:52 -0300
committerGitHub <noreply@github.com>2026-01-24 19:45:52 -0300
commit6b9ef5fb2219ccbb3d42adb4b691c466991efc9f (patch)
tree74b141beda34510f7c44d5e82d2c6ed54c6bfbac /config/hypr/scripts/Distro_update.sh
parent035724daaf362eac452a781e20144cf893ed274f (diff)
parentd2fbf319bc3b09e4345dea390b85d328eb0318c0 (diff)
Merge pull request #931 from JaKooLit/development
Development to main: Fix upgrade bug
Diffstat (limited to 'config/hypr/scripts/Distro_update.sh')
-rwxr-xr-xconfig/hypr/scripts/Distro_update.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/hypr/scripts/Distro_update.sh b/config/hypr/scripts/Distro_update.sh
index 917f303b..164de7ec 100755
--- a/config/hypr/scripts/Distro_update.sh
+++ b/config/hypr/scripts/Distro_update.sh
@@ -15,23 +15,23 @@ fi
if command -v paru &> /dev/null || command -v yay &> /dev/null; then
# Arch-based
if command -v paru &> /dev/null; then
- kitty -T update paru -Syu
+ kitty -T update -e paru -Syu
notify-send -i "$iDIR/ja.png" -u low 'Arch-based system' 'has been updated.'
else
- kitty -T update yay -Syu
+ kitty -T update -e yay -Syu
notify-send -i "$iDIR/ja.png" -u low 'Arch-based system' 'has been updated.'
fi
elif command -v dnf &> /dev/null; then
# Fedora-based
- kitty -T update sudo dnf update --refresh -y
+ kitty -T update -e sudo dnf update --refresh -y
notify-send -i "$iDIR/ja.png" -u low 'Fedora system' 'has been updated.'
elif command -v apt &> /dev/null; then
# Debian-based (Debian, Ubuntu, etc.)
- kitty -T update bash -c "sudo apt update && sudo apt upgrade -y"
+ kitty -T update -e bash -c "sudo apt update && sudo apt upgrade -y"
notify-send -i "$iDIR/ja.png" -u low 'Debian/Ubuntu system' 'has been updated.'
elif command -v zypper &> /dev/null; then
# openSUSE-based
- kitty -T update sudo zypper dup -y
+ kitty -T update -e sudo zypper dup -y
notify-send -i "$iDIR/ja.png" -u low 'openSUSE system' 'has been updated.'
else
# Unsupported distro
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage