13 lines
234 B
Bash
Executable File
13 lines
234 B
Bash
Executable File
#!/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
|