tester l'existence de git-annex

This commit is contained in:
Jephté Clain 2014-11-19 16:17:18 +04:00
parent 8729fd0778
commit f8ed4f1c9e
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
007004001 007004002

View File

@ -561,6 +561,10 @@ function git_annex_initial() {
done done
if [ -n "$hasannex" ]; then if [ -n "$hasannex" ]; then
progexists git-annex || {
eerror "Vous devez installer git-annex"
return 1
}
(cd "$repodir" (cd "$repodir"
git annex init "$MYHOSTNAME" && git annex init "$MYHOSTNAME" &&
git annex get && git annex get &&