[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 SOURCEDIR="/etc/websitesource"
|
||||||
ENV BUILDDIR="/etc/website"
|
ENV BUILDDIR="/etc/website"
|
||||||
ENV WEBSITEROOT="/var/www/html/website/"
|
ENV WEBSITEROOT="/var/www/html/website/"
|
||||||
ENV HASHFILEDIR="/data/hasfiles/"
|
ENV HASHFILEDIR="/data/hashfiles"
|
||||||
|
|
||||||
RUN /tmp/install.sh
|
RUN /tmp/install.sh
|
||||||
|
|
|
@ -13,7 +13,6 @@ source /usr/local/bin/functions.sh
|
||||||
|
|
||||||
filename="website.zip"
|
filename="website.zip"
|
||||||
hashfilename="hashfile"
|
hashfilename="hashfile"
|
||||||
touch $HASHFILEDIR/$hashfilename
|
|
||||||
|
|
||||||
# create empty hashfile
|
# create empty hashfile
|
||||||
# download website data
|
# download website data
|
||||||
|
@ -32,6 +31,7 @@ get-website-data $filename
|
||||||
|
|
||||||
echo "Check for new content"
|
echo "Check for new content"
|
||||||
currentHash=$( print-hash-from-file $filename )
|
currentHash=$( print-hash-from-file $filename )
|
||||||
|
touch $HASHFILEDIR/$hashfilename
|
||||||
if [[ $currentHash == $(cat $HASHFILEDIR/$hashfilename) ]]
|
if [[ $currentHash == $(cat $HASHFILEDIR/$hashfilename) ]]
|
||||||
then
|
then
|
||||||
echo "Nothing to do"
|
echo "Nothing to do"
|
||||||
|
|
Loading…
Reference in a new issue