mirror of
https://github.com/MysticRyuujin/guac-install.git
synced 2025-12-10 13:23:21 +00:00
Add root/sudo check
This commit is contained in:
@@ -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