uppgrade_caldavzap.sh 333B

12345678910111213
  1. #!/usr/bin/env bash
  2. read -p "Delete actual tracim/tracim/public/caldavzap folder? " -n 1 -r
  3. echo # (optional) move to a new line
  4. if [[ $REPLY =~ ^[Yy]$ ]]
  5. then
  6. rm -r tracim/tracim/public/caldavzap
  7. fi
  8. git clone https://github.com/algoo/caldavzap.git tracim/tracim/public/caldavzap
  9. rm -rf tracim/tracim/public/caldavzap/.git