mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 15:38:26 +00:00
Make update download slightly more silent
This commit is contained in:
parent
33d8b4cb9f
commit
984eb0f9e9
@ -44,7 +44,7 @@ doUpgradeToolsFromCommit(){
|
|||||||
if [ -z "$tmpdir" ]; then echo "Unable to create temporary directory"; exit 1; fi
|
if [ -z "$tmpdir" ]; then echo "Unable to create temporary directory"; exit 1; fi
|
||||||
cd "$tmpdir"
|
cd "$tmpdir"
|
||||||
echo "Downloading installer"
|
echo "Downloading installer"
|
||||||
curl -L "https://github.com/${arkstGithubRepo}/archive/${commit}.tar.gz" | tar -xz
|
curl -s -L "https://github.com/${arkstGithubRepo}/archive/${commit}.tar.gz" | tar -xz
|
||||||
cd "ark-server-tools-${commit}/tools"
|
cd "ark-server-tools-${commit}/tools"
|
||||||
if [ ! -f "install.sh" ]; then echo "install.sh not found in $PWD"; exit 1; fi
|
if [ ! -f "install.sh" ]; then echo "install.sh not found in $PWD"; exit 1; fi
|
||||||
sed -i -e "s|^arkstCommit='.*'|arkstCommit='${commit}'|" \
|
sed -i -e "s|^arkstCommit='.*'|arkstCommit='${commit}'|" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user