generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go with recent git-annex for linux tests too
Before this change, the tests used (today): - win: 10.20230407-g9c242af171 - mac: 10.20230407 - linux: 8.20201127 There is hardly any point in sticking to an old git-annex version. Use datalad-next helper to install git-annex in a standard fashion. Closes #166
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
# | ||
# Install git-annex. Any environment setup to source would be | ||
# written to ${HOME}/dlinstaller_env.sh | ||
# | ||
set -e -u | ||
|
||
# no install requested -> exit | ||
[ -z "$1" ] && exit 0 || true | ||
|
||
# assumes a virtualenv or equivalent python env | ||
# get the installer for this | ||
python -m pip install datalad-installer${DATALAD_INSTALLER_VERSION:-} | ||
datalad-installer -E ${HOME}/dlinstaller_env.sh --sudo ok $* |