red=`tput setaf 1` reset=`tput sgr0` echo -n " ${red}WARNING:${reset} The following will be DELETED if present: Directories: $HOME/.local/share/io.parity.ethereum $HOME/.config/io.parity.ethereum Files: $HOME/.local/bin/openethereum $HOME/.local/bin/parity $HOME/.config/systemd/user/kitabu.service $HOME/.config/systemd/user/bloxberg.service $HOME/.config/environment.d/01-bloxberg.conf $HOME/.config/environment.d/01-kitabu.conf Would you still like to continue? (y/n):" read confirmed if [ "$confirmed" == "y" ]; then echo "Deleting..." rm -rf $HOME/.local/share/io.parity.ethereum rm -rf $HOME/.config/io.parity.ethereum rm $HOME/.local/bin/openethereum rm $HOME/.local/bin/parity rm $HOME/.config/systemd/user/kitabu.service rm $HOME/.config/systemd/user/bloxberg.service rm $HOME/.config/environment.d/01-bloxberg.conf rm $HOME/.config/environment.d/01-kitabu.conf echo "Done" else echo "Aborting" fi exit 0