Skip to content

Commit

Permalink
installer removed old jarklin/
Browse files Browse the repository at this point in the history
  • Loading branch information
Barakudum committed Jan 30, 2024
1 parent 3bb8894 commit 10baa44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/installer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e
set -e # fail on any error
shopt -s nullglob # dont return the glob-pattern if nothing found

Expand Down Expand Up @@ -48,6 +47,10 @@ else
wget "https://github.com/jarklin/jarklin-web/releases/download/latest/web-ui.tgz" -O "$WEB_UI_ARCHIVE"
fi

if [ -f "jarklin/" ]; then
info "Removing old jarklin"
rm -rf jarklin/
fi
info "Extracting jarklin..."
tar -xf "$JARKLIN_ARCHIVE" -C "."

Expand Down

0 comments on commit 10baa44

Please sign in to comment.