diff --git a/package.json b/package.json index b0b4f5d..f994d77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sscripts", - "version": "1.0.4", + "version": "1.0.5", "description": "Useful Shell scripts for projects", "author": "sHa ", "license": "MIT", diff --git a/scripts/git.storage_push.sh b/scripts/git.storage_push.sh index bc0c731..b4a32f2 100755 --- a/scripts/git.storage_push.sh +++ b/scripts/git.storage_push.sh @@ -17,7 +17,7 @@ fi git --version 2>&1 >/dev/null GIT_IS_AVAILABLE=$? -if [ ! $GIT_IS_AVAILABLE -eq 0 ]; then +if [ $GIT_IS_AVAILABLE -ne 0 ]; then echo "ERROR: The program 'git' is currently not installed." echo "Try: 'sudo apt install git' to install it" exit 1