From b585f111e0a9230aec85388958724065391c3133 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 30 Dec 2022 17:19:31 -0300 Subject: Fix: spotx: error handling --- share/trashman/spotx/unix/linux/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/trashman/spotx/unix/linux/install b/share/trashman/spotx/unix/linux/install index 2eacedf..d69acfe 100755 --- a/share/trashman/spotx/unix/linux/install +++ b/share/trashman/spotx/unix/linux/install @@ -12,14 +12,14 @@ trashman install spotify || exit 1 # Download if [ ! -d "/usr/local/src/spotx" ]; then - git clone https://github.com/SpotX-CLI/SpotX-Linux /usr/local/src/spotx + git clone https://github.com/SpotX-CLI/SpotX-Linux /usr/local/src/spotx || exit 1 fi # Use the latest version #git -C /usr/local/src/spotx pull # Checkout an specific version -git -C /usr/local/src/spotx checkout $COMMIT +git -C /usr/local/src/spotx checkout $COMMIT || exit 1 # Install -bash /usr/local/src/spotx/install.sh +bash /usr/local/src/spotx/install.sh || exit 1 -- cgit v1.2.3