Explorar o código

bin/update: rsync ignore timestamp

Marc Sladek %!s(int64=3) %!d(string=hai) anos
pai
achega
f3ef5ec1ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compose/bin/update

+ 1 - 1
compose/bin/update

@@ -3,7 +3,7 @@ set -o errexit
 mkdir -p tmpupdate && cd "$_"
 mkdir -p tmpupdate && cd "$_"
 curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
 curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
 rm -rf .git
 rm -rf .git
-rsync -av ./ ../
+rsync -av --checksum ./ ../
 cd ..
 cd ..
 rm -rf tmpupdate
 rm -rf tmpupdate
 echo "docker-magento has been updated, run bin/restart to apply the updates"
 echo "docker-magento has been updated, run bin/restart to apply the updates"