13 lines
234 B
Plaintext
13 lines
234 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
echo "This will reset ALL data! Are you sure you want to proceed? [y/N]"
|
||
|
read input
|
||
|
if [ "$input" == "y" ]
|
||
|
then
|
||
|
rm database.sqlite3
|
||
|
./setup_db
|
||
|
echo "Reset completed, have a nice day."
|
||
|
else
|
||
|
echo "Reset cancelled."
|
||
|
fi
|