summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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