fix
This commit is contained in:
+13
-5
@@ -4,10 +4,18 @@
|
|||||||
[[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1
|
[[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1
|
||||||
|
|
||||||
cd
|
cd
|
||||||
rm /etc/bash.bashrc
|
|
||||||
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc
|
if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then
|
||||||
rm /etc/inputrc
|
rm /etc/bash.bashrc
|
||||||
mv /etc/inputrc.ORIGINAL /etc/inputrc
|
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc
|
||||||
rm /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
|
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
|
rm -rf /opt/miaou-bash
|
||||||
|
|
||||||
echo 'MIAOU-BASH fully uninstalled, restored from original'
|
echo 'MIAOU-BASH fully uninstalled, restored from original'
|
||||||
|
|||||||
Reference in New Issue
Block a user