writefreely/less/install-less.sh

10 lines
224 B
Bash
Raw Permalink Normal View History

#!/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