mirror of
https://git.koehlerweb.org/frodovdr/guac-install
synced 2026-11-10 04:01:07 +01:00
Add root/sudo check
Add root/sudo check thanks to @bmullan
This commit is contained in:
1 parent
a43a3c8327
commit
4ae4546d6d
1 file changed
+3
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Check if user is root or sudo
|
||||||
|
if ! [ $(id -u) = 0 ]; then echo "Please run this script as sudo or root"; exit 1 ; fi
|
||||||
|
|
||||||
# Version number of Guacamole to install
|
# Version number of Guacamole to install
|
||||||
GUACVERSION="0.9.14"
|
GUACVERSION="0.9.14"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user