This commit is contained in:
pvincent
2026-08-07 22:42:01 +04:00
parent db8fb9ac95
commit 190a39c2b7
+13 -5
View File
@@ -4,10 +4,18 @@
[[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1
cd
rm /etc/bash.bashrc
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc
rm /etc/inputrc
mv /etc/inputrc.ORIGINAL /etc/inputrc
rm /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
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
fi
rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
rm -rf /opt/miaou-bash
echo 'MIAOU-BASH fully uninstalled, restored from original'