Change check for existence of sassc

This commit is contained in:
blackpill0w
2023-10-19 14:23:31 +00:00
committed by GitHub
parent 20bae3c82e
commit 0312215540

View File

@@ -413,7 +413,7 @@ function has_command() {
# Install needed packages # Install needed packages
install_package() { install_package() {
if [ ! "$(which sassc 2> /dev/null)" ]; then if ! has_command sassc; then
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