diff --git a/lib/uninstall.bash b/lib/uninstall.bash index 89a6620..bbdcb88 100644 --- a/lib/uninstall.bash +++ b/lib/uninstall.bash @@ -3,7 +3,7 @@ # MAIN [[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1 -cd +cd || exit if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then rm /etc/bash.bashrc @@ -18,4 +18,5 @@ fi rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie} rm -rf /opt/miaou-bash +unset MIAOU_BASH_DIR echo 'MIAOU-BASH fully uninstalled, restored from original'