|
|
@ -23,8 +23,8 @@ check_data_subdir() {
|
|
|
|
if ! [ -e $DATA_SUBDIR/.git/annex ]; then
|
|
|
|
if ! [ -e $DATA_SUBDIR/.git/annex ]; then
|
|
|
|
echo "$DATA_SUBDIR/ is not a git annex repository"; result=1
|
|
|
|
echo "$DATA_SUBDIR/ is not a git annex repository"; result=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if ! (cd $DATA_SUBDIR && git annex version | grep -q 'local repository version: 7'); then
|
|
|
|
if ! (cd $DATA_SUBDIR && git annex version | egrep -q 'local repository version: (7|8)'); then
|
|
|
|
echo "$DATA_SUBDIR/ is not a git annex repository version 7"; result=1
|
|
|
|
echo "$DATA_SUBDIR/ is not a git annex repository version 7 or 8"; result=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if ! (cd $DATA_SUBDIR && git remote | grep -q '^nfs$'); then
|
|
|
|
if ! (cd $DATA_SUBDIR && git remote | grep -q '^nfs$'); then
|
|
|
|
echo "$DATA_SUBDIR/ has no git remote 'nfs'"; result=1
|
|
|
|
echo "$DATA_SUBDIR/ has no git remote 'nfs'"; result=1
|
|
|
@ -82,7 +82,7 @@ suggest_commands() {
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo "git submodule update --init"
|
|
|
|
echo "git submodule update --init"
|
|
|
|
echo "(cd $DATA_SUBDIR && git annex init --version=7)"
|
|
|
|
echo "(cd $DATA_SUBDIR && git annex init --version=7)"
|
|
|
|
echo "(cd $DATA_SUBDIR && git remote add nfs /<... path to ...>/GitNX-Repository/qurator/qurator-data)"
|
|
|
|
echo "(cd $DATA_SUBDIR && git remote add nfs annex@b-lx0053.sbb.spk-berlin.de:/var/lib/annex/qurator-data.git)"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
handle_data() {
|
|
|
|
handle_data() {
|
|
|
|