diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-12-25 09:44:13 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-12-25 09:44:13 +0100 |
commit | dd6019932efd6ae3b790bf024bc0cd74162e4517 (patch) | |
tree | c7250415dccea2fb8713edebf9b4625e70648bec /scripts/danger/clean/prod.sh | |
parent | 8c67719c80cef7319afecdf1078d5447149ad8e7 (diff) | |
download | PeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.tar.gz PeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.tar.zst PeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.zip |
Update scripts with postgresql
Diffstat (limited to 'scripts/danger/clean/prod.sh')
-rwxr-xr-x | scripts/danger/clean/prod.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/danger/clean/prod.sh b/scripts/danger/clean/prod.sh index e6c92671d..7ee13ba83 100755 --- a/scripts/danger/clean/prod.sh +++ b/scripts/danger/clean/prod.sh | |||
@@ -1,6 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r | 3 | read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r |
4 | echo | ||
4 | 5 | ||
5 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then | 6 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then |
6 | NODE_ENV=production node "./scripts/danger/clean/cleaner" | 7 | NODE_ENV=production node "./scripts/danger/clean/cleaner" |