Remove Android from update.sh

This commit is contained in:
Sam A. 2022-12-30 19:22:12 +01:00
parent 3a20d6ec93
commit d7e7259729
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,8 +1,5 @@
#!/usr/bin/env dash
if [ "$(uname -o)" = "Android" ]; then
pkg upgrade
elif [ "$(uname -o)" = "GNU/Linux" ]; then
[ "$(lsb_release -si)" = "Artix" ] && paru
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
@ -13,7 +10,6 @@ elif [ "$(uname -o)" = "GNU/Linux" ]; then
echo
sudo apt autoremove --purge --yes
fi
fi
command -v flatpak >/dev/null 2>&1 &&
{ echo; flatpak update; }