mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-05 19:19:53 +02:00
⚙ Suggest commands to fix data submodule
This commit is contained in:
parent
cd2e92fbc4
commit
21df393b0f
1 changed files with 6 additions and 4 deletions
10
build
10
build
|
@ -24,11 +24,13 @@ check_data_subdir() {
|
||||||
|
|
||||||
download=0
|
download=0
|
||||||
if ! check_data_subdir; then
|
if ! check_data_subdir; then
|
||||||
select choice in "Abort to $DATA_SUBDIR" "Download data files"; do
|
select choice in "Abort to manually fix $DATA_SUBDIR submodule" "Download data files from the web"; do
|
||||||
if [ $REPLY = 1 ]; then
|
if [ $REPLY = 1 ]; then
|
||||||
#git submodule update --init
|
echo "Suggested commands:"
|
||||||
#(cd data && git annex init --version=7)
|
echo
|
||||||
#(cd data && git remote add nfs /path/to/GitNX-Repository/qurator/qurator-data)
|
echo "git submodule update --init"
|
||||||
|
echo "(cd $DATA_SUBDIR && git annex init --version=7)"
|
||||||
|
echo "(cd $DATA_SUBDIR && git remote add nfs /<... path to ...>/GitNX-Repository/qurator/qurator-data)"
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
download=1
|
download=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue