From 8282b1cd3f7e072ec65e95f4c83c2e2eb3604bde Mon Sep 17 00:00:00 2001 From: Toke Eskildsen <te@ekot.dk> Date: Mon, 9 Dec 2013 10:46:03 +0100 Subject: [PATCH] Optional override of presentation.sh by creating a file in source dir --- quack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quack.sh b/quack.sh index 8c5555b..c4efa67 100755 --- a/quack.sh +++ b/quack.sh @@ -179,6 +179,10 @@ if [ ".true" == ".$FORCE_BLOWN" ]; then fi PRESENTATION_SCRIPT="$ROOT/presentation.sh" +if [ -f "$START_PATH/presentation.sh" ]; then + echo "Using presentation.sh located in $START_PATH" + PRESENTATION_SCRIPT="$START_PATH/presentation.sh" +fi FOLDER_TEMPLATE="$ROOT/web/folder_template.html" IMAGE_TEMPLATE="$ROOT/web/image_template.html" DRAGON="openseadragon.min.js" -- GitLab