Skip to content
Snippets Groups Projects
Commit 07beffc5 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

Merge branch 'sachse-master-patch-95895' into 'master'

fix: rename one of the --mode's to match existing naming in prod

See merge request !4
parents 31501b14 9fab03b6
No related branches found
No related tags found
1 merge request!4fix: rename one of the --mode's to match existing naming in prod
......@@ -43,7 +43,7 @@
#hh watch-folder to invalid folder
#hh -s, --statistics
#hh print a statistic
#hh -m, --mode [auto, mediathek, fotothek, save, kitodo, lfulg]
#hh -m, --mode [auto, mediathek, fotothek, save, kitodo, digas]
#hh the mode 'auto' tries to check files based on file mime-types.
#hh The other modes are actual workflow names.
#hh -d, --daemon
......@@ -91,8 +91,8 @@ validators[_______save_mka__current]="/usr/bin/mediaconch -ft -p /etc/mediaconch
validators[_______save_mka_upcoming]="/usr/bin/mediaconch -ft -p /etc/mediaconch/save_retroaudio_current.xml FILE"
validators[_____kitodo_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit_tiff/retromono_current FILE"
validators[_____kitodo_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retromono_upcoming FILE"
validators[______lfulg_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit_tiff/retrogeomono_current FILE"
validators[______lfulg_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retrogeomono_upcoming FILE"
validators[______digas_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit_tiff/retrogeomono_current FILE"
validators[______digas_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retrogeomono_upcoming FILE"
validators[___fotothek_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit_tiff/retrofoto_current FILE"
validators[___fotothek_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retrofoto_upcoming FILE"
validators[_____kitodo_icc__current]="/usr/local/bin/iccDumpProfile -v FILE"
......@@ -270,8 +270,8 @@ get_cli_args() {
&& [ "$MODE" != "fotothek" ] \
&& [ "$MODE" != "save" ] \
&& [ "$MODE" != "kitodo" ] \
&& [ "$MODE" != "lfulg" ]; then
error "param --mode must be 'auto', 'mediathek', 'fotothek', 'save', 'kitodo' or 'lfulg'!"
&& [ "$MODE" != "digas" ]; then
error "param --mode must be 'auto', 'mediathek', 'fotothek', 'save', 'kitodo' or 'digas'!"
exit 1
fi
if [ "$WITH_PIPE" -eq 1 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment