1
0
Fork 0
peertube/scripts/danger/clean/prod.sh
2016-10-13 21:45:23 +02:00

7 lines
197 B
Bash
Executable file

#!/bin/bash
read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
NODE_ENV=production node "./scripts/danger/clean/cleaner"
fi