forked from exozyme/nixpkgs
added sudo warning
This commit is contained in:
parent
aa0a9e9a2d
commit
2246d88b5b
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue