mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-16 05:18:38 -07:00
Merge pull request #130 from blackpill0w/main
Change check for existence of `sassc` as it fails when `which` isn't installed even if `sassc` exists.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user