[SKIP-CI] Fix typo

merge-requests/4/head
Clemens 1 year ago
parent e6c51ed479
commit 8c98c3eb8f

@ -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

@ -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"

Loading…
Cancel
Save