Browse Source

small fix

main
pvincent 3 days ago
parent
commit
6b160d0201
  1. 4
      lib/uninstall.bash

4
lib/uninstall.bash

@ -7,8 +7,7 @@ cd || exit
source "$MIAOU_BASH_DIR"/lib/functions.bash source "$MIAOU_BASH_DIR"/lib/functions.bash
_confirm_destructive
if _confirm_destructive; then
if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then
rm /etc/bash.bashrc rm /etc/bash.bashrc
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc
@ -24,3 +23,4 @@ rm -rf /opt/miaou-bash
unset MIAOU_BASH_DIR unset MIAOU_BASH_DIR
echo 'MIAOU-BASH fully uninstalled, restored from original' echo 'MIAOU-BASH fully uninstalled, restored from original'
fi
Loading…
Cancel
Save