mirror of
https://github.com/shadoll/sscript.git
synced 2025-12-20 01:26:00 +00:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sscripts",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "Useful Shell scripts for projects",
|
||||
"author": "sHa <sha@shadoll.dev>",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user