mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +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
|
||||
cd /tmp
|
||||
curl -s https://github.com/FezVrasta/ark-server-tools/archive/${channel}.tar.gz > ${channel}.tar.gz
|
||||
tar -zxvf ${channel}.tar.gz
|
||||
curl -L -k -s https://github.com/FezVrasta/ark-server-tools/archive/${channel}.tar.gz | tar xz
|
||||
|
||||
# Install ARK Server Tools
|
||||
cd ark-server-tools-${channel}/tools
|
||||
@ -19,7 +18,6 @@ sh install.sh $1 > /dev/null
|
||||
status=$?
|
||||
|
||||
# Remove the installation files
|
||||
rm -f ${channel}.tar.gz
|
||||
rm -rf /tmp/ark-server-tools-${channel}
|
||||
|
||||
# Print messages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user