update: add thumbsup install

This commit is contained in:
Romain Bazile 2020-12-03 13:18:19 +01:00
parent e2d6a21d0f
commit aec7669ac6

View file

@ -19,6 +19,10 @@ function special(){
if [[ -f "/etc/udev/rules.d/99-local.rules" ]]; then if [[ -f "/etc/udev/rules.d/99-local.rules" ]]; then
sudo rm /etc/udev/rules.d/99-local.rules sudo rm /etc/udev/rules.d/99-local.rules
fi fi
if ! [ -x "$(hash thumbsup &> /dev/null)" ] ; then
${log} "thumbsup is not installed, installing now"
sudo npm install -g thumbsup
fi
} }
${log} "Updating the main repository" ${log} "Updating the main repository"