writefreely/less/install-less.sh

10 lines
218 B
Bash
Raw Normal View History

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