summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-05-09 20:28:32 +0200
committerPaul C. Buetow (mars.fritz.box) <paul@buetow.org>2014-05-09 20:28:32 +0200
commit03676631a760c3bbdc09ed68784550ed5bd32fe7 (patch)
treecb4aa3328e6547b00dc0c3422b84084bb75e5e7f
parentd3315fd7d7cb91b658338e9185a2133758aa0f38 (diff)
fix
-rwxr-xr-xsrc/photoalbum.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/photoalbum.sh b/src/photoalbum.sh
index 95df9f0..85394ea 100755
--- a/src/photoalbum.sh
+++ b/src/photoalbum.sh
@@ -212,7 +212,9 @@ function generate() {
declare redirect_page=./html/index
template redirect index
- [ "${TARBALL_INCLUDE}" = yes ] && tarball
+ if [ "${TARBALL_INCLUDE}" = yes ]; then
+ tarball
+ fi
}
if [ -z "${RC_FILE}" ]; then