[SKIP-CI] Fix typo

This commit is contained in:
Clemens 2022-12-02 11:33:27 +01:00
parent e6c51ed479
commit 8c98c3eb8f
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@ ADD resources /tmp
ENV SOURCEDIR="/etc/websitesource"
ENV BUILDDIR="/etc/website"
ENV WEBSITEROOT="/var/www/html/website/"
ENV HASHFILEDIR="/data/hasfiles/"
ENV HASHFILEDIR="/data/hashfiles"
RUN /tmp/install.sh

View file

@ -13,7 +13,6 @@ source /usr/local/bin/functions.sh
filename="website.zip"
hashfilename="hashfile"
touch $HASHFILEDIR/$hashfilename
# create empty hashfile
# download website data
@ -32,6 +31,7 @@ get-website-data $filename
echo "Check for new content"
currentHash=$( print-hash-from-file $filename )
touch $HASHFILEDIR/$hashfilename
if [[ $currentHash == $(cat $HASHFILEDIR/$hashfilename) ]]
then
echo "Nothing to do"