We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a37396d + ae0904f commit c9c3a43Copy full SHA for c9c3a43
install
@@ -4,13 +4,6 @@
4
# This script is designed to install latest EasyEngine or
5
# to update current EasyEngine from 2.x to 3.x
6
7
-# Checking permissions
8
-if [[ $EUID -ne 0 ]]; then
9
- ee_lib_echo_fail "Sudo privilege required..."
10
- ee_lib_echo_fail "Uses: wget -qO ee rt.cx/ee && sudo bash ee"
11
- exit 100
12
-fi
13
-
14
# Define echo function
15
# Blue color
16
function ee_lib_echo()
@@ -28,6 +21,13 @@ function ee_lib_echo_fail()
28
21
echo $(tput setaf 1)$@$(tput sgr0)
29
22
}
30
23
24
+# Checking permissions
25
+if [[ $EUID -ne 0 ]]; then
26
+ ee_lib_echo_fail "Sudo privilege required..."
27
+ ee_lib_echo_fail "Uses: wget -qO ee rt.cx/ee && sudo bash ee"
+ exit 100
+fi
+
31
# Capture errors
32
function ee_lib_error()
33
{
0 commit comments