writefreely/less/install-less.sh

9 lines
224 B
Bash
Executable file

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