2
0

update 299 B

123456789
  1. #!/usr/bin/env bash
  2. set -o errexit
  3. mkdir -p tmpupdate && cd "$_"
  4. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
  5. rm -rf .git
  6. rsync -av --checksum ./ ../
  7. cd ..
  8. rm -rf tmpupdate
  9. echo "docker-magento has been updated, run bin/restart to apply the updates"