15 lines
397 B
Bash
15 lines
397 B
Bash
|
# Usefull when an install fails half way through
|
||
|
|
||
|
red=`tput setaf 1`
|
||
|
reset=`tput sgr0`
|
||
|
echo -n "${red}WARNING:${reset} This will delete all your keys and settings. Continue? (y/n):"
|
||
|
read confirmed
|
||
|
if [ "$confirmed" == "y" ]; then
|
||
|
echo "Deleting all keys and settings..."
|
||
|
rm -rf $HOME/.local/share/cic/
|
||
|
rm -rf $HOME/.config/cic
|
||
|
echo "Done"
|
||
|
else
|
||
|
echo "Aborting"
|
||
|
fi
|
||
|
exit 0
|