From 3a0d265d9547f510cb062ba1e057ebcd3d94f6dd Mon Sep 17 00:00:00 2001 From: acane Date: Sun, 17 Sep 2023 15:26:18 +0800 Subject: [PATCH] fix bootstrap.sh logic --- bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index f990739..fedcafc 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -136,6 +136,11 @@ function check_for_env() { fi echo "-- Installation prefix: $CONFIG_PREFIX" + if [ "$CONFIG_BUILD_WEBPAGE_ONLY" != "" ]; then + echo "-- Build project only, will not check for album" + return 0 + fi + # Check album list if [ "$CONFIG_ALBUM_DIR" == "" ]; then CONFIG_ALBUM_DIR="$CONFIG_PREFIX/album"