outdated git annex version check in bash script #1240

Open
opened 2024-09-11 08:46:52 +00:00 by adswa · 0 comments
adswa commented 2024-09-11 08:46:52 +00:00 (Migrated from github.com)

the s3 advanced example uses

if ! git annex version | grep 8.2021 ; then
      echo "E: need recent git annex. check what you have"
      exit 1
fi

to test the git-annex version - this would make the script exit with any recent git-annex, and only allow a severely outdated one.

the s3 advanced example uses ```sh if ! git annex version | grep 8.2021 ; then echo "E: need recent git annex. check what you have" exit 1 fi ``` to test the git-annex version - this would make the script exit with any recent git-annex, and only allow a severely outdated one.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
handbook/book#1240
No description provided.