Remove Android from update.sh
This commit is contained in:
parent
3a20d6ec93
commit
d7e7259729
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env dash
|
#!/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)" = "Artix" ] && paru
|
||||||
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
||||||
|
|
||||||
|
@ -13,7 +10,6 @@ elif [ "$(uname -o)" = "GNU/Linux" ]; then
|
||||||
echo
|
echo
|
||||||
sudo apt autoremove --purge --yes
|
sudo apt autoremove --purge --yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
command -v flatpak >/dev/null 2>&1 &&
|
command -v flatpak >/dev/null 2>&1 &&
|
||||||
{ echo; flatpak update; }
|
{ echo; flatpak update; }
|
||||||
|
|
Loading…
Reference in a new issue