From aec7669ac66504982c0aef43b032188c66a992d4 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Thu, 3 Dec 2020 13:18:19 +0100 Subject: [PATCH] update: add thumbsup install --- scripts/bash/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bash/update.sh b/scripts/bash/update.sh index bf73b56..30ea13c 100755 --- a/scripts/bash/update.sh +++ b/scripts/bash/update.sh @@ -19,6 +19,10 @@ function special(){ if [[ -f "/etc/udev/rules.d/99-local.rules" ]]; then sudo rm /etc/udev/rules.d/99-local.rules 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"