Update update.sh

This commit is contained in:
dami
2025-07-22 17:54:47 +08:00
parent 5e9706ca23
commit 860a50f025
+5
View File
@@ -65,6 +65,11 @@ elif grep -Eqi "Ubuntu" /etc/issue || grep -Eqi "Ubuntu" /etc/*-release; then
apt install -y wget zip unzip
elif grep -Eqi "Raspbian" /etc/issue || grep -Eqi "Raspbian" /etc/*-release; then
OSNAME='raspbian'
elif grep -Eqi "Alpine" /etc/issue || grep -Eqi "Alpine" /etc/*-release; then
OSNAME='alpine'
apk update
apk add devscripts -force-broken-world
apk add wget zip unzip tar -force-broken-world
else
OSNAME='unknow'
fi