Skip to content

Commit 38aaf4c

Browse files
authored
Fix: Improve error handling in linux installer script (#59)
1 parent c1c3dea commit 38aaf4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

linux_installer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
set -e # Exit on error
4+
35
echo "Welcome to the atools linux installer!"
46
echo
57
LATEST_VERSION=$(curl -s https://api.github.com/repos/arne-vl/atools/tags | grep '"name":' | sed -E 's/.*"v?([^"]+)".*/\1/' | sort -Vr | head -n 1)

0 commit comments

Comments
 (0)