mirror of
https://github.com/shadoll/sscript.git
synced 2026-02-04 02:53:24 +00:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sscripts",
|
"name": "sscripts",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "Useful Shell scripts for projects",
|
"description": "Useful Shell scripts for projects",
|
||||||
"author": "sHa <sha@shadoll.dev>",
|
"author": "sHa <sha@shadoll.dev>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ fi
|
|||||||
|
|
||||||
git --version 2>&1 >/dev/null
|
git --version 2>&1 >/dev/null
|
||||||
GIT_IS_AVAILABLE=$?
|
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 "ERROR: The program 'git' is currently not installed."
|
||||||
echo "Try: 'sudo apt install git' to install it"
|
echo "Try: 'sudo apt install git' to install it"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user