2018-11-08 04:33:13 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Install Less via npm
|
|
|
|
if [ ! -e "$(which lessc)" ]; then
|
2021-01-04 17:19:24 +01:00
|
|
|
sudo npm install -g less@3.5.3
|
2018-11-08 04:33:13 +01:00
|
|
|
sudo npm install -g less-plugin-clean-css
|
|
|
|
else
|
|
|
|
echo LESS $(npm view less version 2>&1 | grep -v WARN) is installed
|
|
|
|
fi
|