update 280 B

123456789
  1. #!/bin/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 ./ ../
  7. cd ..
  8. rm -rf tmpupdate
  9. echo "docker-magento has been updated, run bin/restart to apply the updates"