pvincent 3 days ago
parent
commit
190a39c2b7
  1. 10
      lib/uninstall.bash

10
lib/uninstall.bash

@ -4,10 +4,18 @@
[[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1
cd
if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then
rm /etc/bash.bashrc
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc
fi
if [[ -f /etc/inputrc.ORIGINAL ]]; then
rm /etc/inputrc
mv /etc/inputrc.ORIGINAL /etc/inputrc
rm /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
fi
rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
rm -rf /opt/miaou-bash
echo 'MIAOU-BASH fully uninstalled, restored from original'
Loading…
Cancel
Save