From 65fe4fba14738d9cb7ad81dbf618adf75d0e040c Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Mon, 29 Apr 2024 20:31:06 +0800 Subject: [PATCH] Update install.sh --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 15582b57..05b9db8a 100755 --- a/install.sh +++ b/install.sh @@ -401,12 +401,14 @@ install_package() { echo sassc needs to be installed to generate the css. if has_command zypper; then sudo zypper in sassc + elif has_command apt; then + sudo apt install sassc elif has_command apt-get; then sudo apt-get install sassc elif has_command dnf; then sudo dnf install sassc - elif has_command dnf; then - sudo dnf install sassc + elif has_command yum; then + sudo yum install sassc elif has_command pacman; then sudo pacman -S --noconfirm sassc fi