mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 23:38:28 +00:00
fixed netinstaller
This commit is contained in:
parent
bc9e9f6d1f
commit
a345a84efd
@ -8,8 +8,7 @@ channel=${2:-master} # if defined by 2nd argument install the defined version, o
|
|||||||
|
|
||||||
# Download and untar installation files
|
# Download and untar installation files
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -s https://github.com/FezVrasta/ark-server-tools/archive/${channel}.tar.gz > ${channel}.tar.gz
|
curl -L -k -s https://github.com/FezVrasta/ark-server-tools/archive/${channel}.tar.gz | tar xz
|
||||||
tar -zxvf ${channel}.tar.gz
|
|
||||||
|
|
||||||
# Install ARK Server Tools
|
# Install ARK Server Tools
|
||||||
cd ark-server-tools-${channel}/tools
|
cd ark-server-tools-${channel}/tools
|
||||||
@ -19,7 +18,6 @@ sh install.sh $1 > /dev/null
|
|||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
# Remove the installation files
|
# Remove the installation files
|
||||||
rm -f ${channel}.tar.gz
|
|
||||||
rm -rf /tmp/ark-server-tools-${channel}
|
rm -rf /tmp/ark-server-tools-${channel}
|
||||||
|
|
||||||
# Print messages
|
# Print messages
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user