Browse Source

Update 'update.sh'

kirkleon 5 years ago
parent
commit
29f8e4d827
1 changed files with 3 additions and 3 deletions
  1. 3 3
      update.sh

+ 3 - 3
update.sh

@@ -1,10 +1,10 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
 
 rm -rf ./pull/
 mkdir -pv ./pull/audiobot
 curl https://splamy.de/api/nightly/ts3ab/master_dotnet_core_3_1_preview/download -o ./pull/audiobot/audiobot.zip
 curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ./pull/youtube-dl
-cd ./pull/audiobot
+pushd ./pull/audiobot
 unzip audiobot.zip
 rm audiobot.zip
-cd ../..
+popd