writefreely/less/install-less.sh
2018-11-07 22:33:13 -05:00

9 lines
218 B
Bash
Executable file

#!/bin/sh
# Install Less via npm
if [ ! -e "$(which lessc)" ]; then
sudo npm install -g less
sudo npm install -g less-plugin-clean-css
else
echo LESS $(npm view less version 2>&1 | grep -v WARN) is installed
fi