Remove Android from update.sh
This commit is contained in:
parent
3a20d6ec93
commit
d7e7259729
|
@ -1,18 +1,14 @@
|
||||||
#!/usr/bin/env dash
|
#!/usr/bin/env dash
|
||||||
|
|
||||||
if [ "$(uname -o)" = "Android" ]; then
|
[ "$(lsb_release -si)" = "Artix" ] && paru
|
||||||
pkg upgrade
|
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
||||||
elif [ "$(uname -o)" = "GNU/Linux" ]; then
|
|
||||||
[ "$(lsb_release -si)" = "Artix" ] && paru
|
|
||||||
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
|
||||||
|
|
||||||
if [ "$(lsb_release -si)" = "Debian" ] || [ "$(lsb_release -si)" = "Ubuntu" ]; then
|
if [ "$(lsb_release -si)" = "Debian" ] || [ "$(lsb_release -si)" = "Ubuntu" ]; then
|
||||||
sudo apt update
|
sudo apt update
|
||||||
echo
|
echo
|
||||||
sudo apt upgrade --purge
|
sudo apt upgrade --purge
|
||||||
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 &&
|
||||||
|
|
Loading…
Reference in a new issue