aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean/prod.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-12-25 09:44:13 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-12-25 09:44:13 +0100
commitdd6019932efd6ae3b790bf024bc0cd74162e4517 (patch)
treec7250415dccea2fb8713edebf9b4625e70648bec /scripts/danger/clean/prod.sh
parent8c67719c80cef7319afecdf1078d5447149ad8e7 (diff)
downloadPeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.tar.gz
PeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.tar.zst
PeerTube-dd6019932efd6ae3b790bf024bc0cd74162e4517.zip
Update scripts with postgresql
Diffstat (limited to 'scripts/danger/clean/prod.sh')
-rwxr-xr-xscripts/danger/clean/prod.sh3
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
3read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r 3read -p "This will remove all directories and SQL tables. Are you sure? (y/*) " -n 1 -r
4echo
4 5
5if [[ "$REPLY" =~ ^[Yy]$ ]]; then 6if [[ "$REPLY" =~ ^[Yy]$ ]]; then
6 NODE_ENV=production node "./scripts/danger/clean/cleaner" 7 NODE_ENV=production node "./scripts/danger/clean/cleaner"