Replace check_bin() by required_commands in main

This commit is contained in:
Yorick Barbanneau 2019-11-24 23:59:38 +01:00
parent afff4a3560
commit 9abdfb89f9

View file

@ -351,7 +351,7 @@ esac
if [[ $* =~ ^https://.*\.git$ || $* =~ ^ssh://.*\.git$ ]]
then
check_bin "git"
required_commands "git"
# Check
localrepo="${DOTREPO}/$(basename $* .git)"