You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
376 B
Plaintext
17 lines
376 B
Plaintext
4 years ago
|
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
|
||
|
wd=`pwd`
|
||
|
path=`realpath "$SCRIPTPATH/../../data"`
|
||
|
echo "Removing $path. You will permanently lose your users and contacts. Proceed? "
|
||
|
|
||
4 years ago
|
read -p "[y/N] " y_n
|
||
4 years ago
|
|
||
|
echo $y_n
|
||
|
|
||
|
if [ ! "$y_n" = "y" ]; then
|
||
|
echo "Cancelling"
|
||
|
else
|
||
|
rm -r $path
|
||
4 years ago
|
#echo "Reregistering..."
|
||
4 years ago
|
#comrad-cli /register
|
||
4 years ago
|
fi
|