uppgrade_caldavzap.sh 351B

1234567891011121314
  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. # Update the code
  9. git clone https://github.com/algoo/caldavzap.git tracim/tracim/public/caldavzap
  10. rm -rf tracim/tracim/public/caldavzap/.git