From 22b5c6a84f4bfe747f26a0e9c47aab0eab9de151 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Tue, 10 Jan 2023 10:08:01 -0800 Subject: [PATCH] oops, finger slipped... --- install_shareware_data.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_shareware_data.sh b/install_shareware_data.sh index 2690aa1..762ebf4 100755 --- a/install_shareware_data.sh +++ b/install_shareware_data.sh @@ -17,7 +17,7 @@ SCRPATH="$( cd "$( dirname $(readlink -nf $0) )" && pwd )" if ! [ -x "$(command -v wget)" ]; then printf "Error: wget is not installed.\n" >&2 - exit 0 + exit 1 fi cd "$SCRPATH" @@ -68,11 +68,11 @@ grab_patch hlds 05_hlds # Valve once had music tracks available on YouTube, however due to rights # issues this is no more. As I'm not comfortable with unofficial uploads # due to the nature of this project, this ends here. -exit 1 +exit 0 if ! [ -x "$(command -v yt-dlp)" ]; then printf "Error: yt-dlp is not installed.\nUnable to download music\n" >&2 - exit 0 + exit 1 fi cd "$SCRPATH"