mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-13 07:10:49 +00:00
17 lines
376 B
Plaintext
Executable File
17 lines
376 B
Plaintext
Executable File
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? "
|
|
|
|
read -p "[y/N] " y_n
|
|
|
|
echo $y_n
|
|
|
|
if [ ! "$y_n" = "y" ]; then
|
|
echo "Cancelling"
|
|
else
|
|
rm -r $path
|
|
#echo "Reregistering..."
|
|
#comrad-cli /register
|
|
fi |