Skip to content

Commit

Permalink
remove unnecessary error call
Browse files Browse the repository at this point in the history
exit 1 is enough for install_packages
  • Loading branch information
theofficialgman committed Jul 6, 2022
1 parent 2296b22 commit 0b424fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/Cube 2 Sauerbraten/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd ~
rm -rf download
rm -rf sauerbraten

install_packages zlib1g-dev libgeoip-dev build-essential libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev || error 'Install of sdl2 and opengl libraries failed!'
install_packages zlib1g-dev libgeoip-dev build-essential libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev || exit 1
# as strang as it is, downloading from the 'download' name directs to a faster download server
# downloading the game code and assets
wget https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download || error 'Download failed from sourceforge.net!'
Expand Down

0 comments on commit 0b424fa

Please sign in to comment.