Artix Linux support

Apparently Artix doesn't have ID_LIKE=arch in its os-release
Closes #118
This commit is contained in:
LukeZGD 2021-08-26 19:41:52 +08:00
parent b6252ba4db
commit 3b98d48c00

View File

@ -108,7 +108,7 @@ InstallDepends() {
Input "Press Enter/Return to continue (or press Ctrl+C to cancel)"
read -s
fi
if [[ $ID == "arch" || $ID_LIKE == "arch" ]]; then
if [[ $ID == "arch" || $ID_LIKE == "arch" || $ID == "artix" ]]; then
sudo pacman -Syu --noconfirm --needed base-devel bsdiff curl libcurl-compat libpng12 libimobiledevice libzip openssh openssl-1.0 python2 unzip usbutils
ln -sf /usr/lib/libcurl.so.3 ../resources/lib/libcurl.so.3
ln -sf /usr/lib/libzip.so.5 ../resources/lib/libzip.so.4