add check for git binary and local changes to self upgrade

This commit is contained in:
Roni Väyrynen
2021-09-15 11:48:40 +03:00
parent f8c97f4afa
commit c0849b5eaa
2 changed files with 12 additions and 1 deletions

7
test.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [[ -n $(command -v git) ]]; then
echo "jep"
else
echo "noup"
fi