Update install.sh

This commit is contained in:
vinceliuice
2024-04-29 20:31:06 +08:00
parent 769a3aad76
commit 65fe4fba14

View File

@@ -401,12 +401,14 @@ install_package() {
echo sassc needs to be installed to generate the css. echo sassc needs to be installed to generate the css.
if has_command zypper; then if has_command zypper; then
sudo zypper in sassc sudo zypper in sassc
elif has_command apt; then
sudo apt install sassc
elif has_command apt-get; then elif has_command apt-get; then
sudo apt-get install sassc sudo apt-get install sassc
elif has_command dnf; then elif has_command dnf; then
sudo dnf install sassc sudo dnf install sassc
elif has_command dnf; then elif has_command yum; then
sudo dnf install sassc sudo yum install sassc
elif has_command pacman; then elif has_command pacman; then
sudo pacman -S --noconfirm sassc sudo pacman -S --noconfirm sassc
fi fi