added sudo warning

This commit is contained in:
Johannes Schnürle 2022-06-16 12:20:42 +02:00
parent aa0a9e9a2d
commit 2246d88b5b

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
# script for installing guacamole-client
# in the moment systemd only
# warning: this script is using sudo (line 70)!
#--------------------------------------------------
version="1.4.0"
tomcat="tomcat9"
@ -65,6 +66,7 @@ echo $checksum ${file} | sha256sum -c
#--------------------------------------------------
echo "installing guacamole-client"
#-- sudo command --
sudo cp $file $webappdir
status="$(systemctl status ${tomcat}.service | grep active | cut -d":" -f2 | cut -b2-3)"