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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -413,7 +413,7 @@ function has_command() {
# Install needed packages
install_package() {
if [ ! "$(which sassc 2> /dev/null)" ]; then
if ! has_command sassc; then
echo sassc needs to be installed to generate the css.
if has_command zypper; then
sudo zypper in sassc