fix boolean check

This commit is contained in:
Maximilian Keßler 2023-10-17 16:15:59 +02:00
parent 14a96869a4
commit 96349d6012
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -21,7 +21,7 @@ if [ ! -d "${INPUT_DIRECTORY}" ]; then
fi fi
# optionally: create index # optionally: create index
if [ "${INPUT_INDEX}" ]; then if "${INPUT_INDEX}"; then
if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then if [ ! -e "${INPUT_DIRECTORY}/index.html" ]; then
tree "${INPUT_DIRECTORY}" -a -H "." \ tree "${INPUT_DIRECTORY}" -a -H "." \
-D \ -D \