update: fix major fuckup
This commit is contained in:
parent
13cbe54208
commit
bb8b3225d9
|
@ -22,7 +22,7 @@ function special(){
|
||||||
if ! [ -x "$(hash thumbsup &> /dev/null)" ] ; then
|
if ! [ -x "$(hash thumbsup &> /dev/null)" ] ; then
|
||||||
${log} "thumbsup is not installed, installing now"
|
${log} "thumbsup is not installed, installing now"
|
||||||
sudo chown -R pi:pi /usr/lib/node_modules/
|
sudo chown -R pi:pi /usr/lib/node_modules/
|
||||||
sudo chown -R pi:pi /usr/bin/
|
sudo chown pi:pi /usr/bin
|
||||||
if npm install -g thumbsup; then
|
if npm install -g thumbsup; then
|
||||||
${log} "Error when installing thumbsup"
|
${log} "Error when installing thumbsup"
|
||||||
else
|
else
|
||||||
|
@ -33,7 +33,7 @@ function special(){
|
||||||
thumbsup --config /home/pi/PlanktonScope/scripts/thumbsup/config.json
|
thumbsup --config /home/pi/PlanktonScope/scripts/thumbsup/config.json
|
||||||
fi
|
fi
|
||||||
sudo chown -R root:root /usr/lib/node_modules/
|
sudo chown -R root:root /usr/lib/node_modules/
|
||||||
sudo chown -R root:root /usr/bin
|
sudo chown root:root /usr/bin
|
||||||
fi
|
fi
|
||||||
if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
||||||
${log} "Nginx config is not installed, doing that now"
|
${log} "Nginx config is not installed, doing that now"
|
||||||
|
|
Loading…
Reference in a new issue