File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 99# Ubuntu 14.04, 16.04, 18.04
1010#
1111
12+ HESTIA=" /usr/local/hestia"
13+ RHOST=' apt.hestiacp.com'
14+ os=$( head -n1 /etc/issue | cut -f 1 -d ' ' )
15+ apt=" /etc/apt/sources.list.d"
16+
1217# Detect OS
1318case $os in
1419 Debian) type=" debian" ;;
@@ -21,6 +26,7 @@ if [ "$type" = "NoSupport" ]; then
2126 echo " Your OS is currently not supported."
2227 exit 1;
2328fi
29+
2430# Detect Codename
2531if [ " $type " = " debian" ]; then
2632 codename=" $( cat /etc/os-release | grep VERSION= | cut -f 2 -d \( | cut -f 1 -d \) ) "
@@ -34,10 +40,6 @@ if [ "$type" = "ubuntu" ]; then
3440 VERSION=' ubuntu'
3541fi
3642
37- HESTIA=" /usr/local/hestia"
38- RHOST=' apt.hestiacp.com'
39- os=$( head -n1 /etc/issue | cut -f 1 -d ' ' )
40- apt=" /etc/apt/sources.list.d"
4143hestiacp=" $HESTIA /install/$VERSION /$release "
4244
4345# Am I root?
You can’t perform that action at this time.
0 commit comments