Browse Source

Update uppgrade_caldavzap.sh

Tracim 6 years ago
parent
commit
276c879658
No account linked to committer's email
1 changed files with 3 additions and 0 deletions
  1. 3 0
      uppgrade_caldavzap.sh

+ 3 - 0
uppgrade_caldavzap.sh View File

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