Remove Android from update.sh
This commit is contained in:
parent
3a20d6ec93
commit
d7e7259729
|
@ -1,18 +1,14 @@
|
|||
#!/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
|
||||
[ "$(lsb_release -si)" = "Artix" ] && paru
|
||||
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
||||
|
||||
if [ "$(lsb_release -si)" = "Debian" ] || [ "$(lsb_release -si)" = "Ubuntu" ]; then
|
||||
sudo apt update
|
||||
echo
|
||||
sudo apt upgrade --purge
|
||||
echo
|
||||
sudo apt autoremove --purge --yes
|
||||
fi
|
||||
if [ "$(lsb_release -si)" = "Debian" ] || [ "$(lsb_release -si)" = "Ubuntu" ]; then
|
||||
sudo apt update
|
||||
echo
|
||||
sudo apt upgrade --purge
|
||||
echo
|
||||
sudo apt autoremove --purge --yes
|
||||
fi
|
||||
|
||||
command -v flatpak >/dev/null 2>&1 &&
|
||||
|
|
Loading…
Reference in a new issue