[SKIP-CI] Fix typo
This commit is contained in:
parent
e6c51ed479
commit
8c98c3eb8f
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue