|
|
@ -6,17 +6,18 @@ |
|
|
|
|
|
|
|
|
function uninstall { |
|
|
function uninstall { |
|
|
if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then |
|
|
if [[ -f /etc/bash.bashrc.ORIGINAL ]]; then |
|
|
rm /etc/bash.bashrc |
|
|
|
|
|
mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc |
|
|
|
|
|
|
|
|
sudo rm /etc/bash.bashrc |
|
|
|
|
|
sudo mv /etc/bash.bashrc.ORIGINAL /etc/bash.bashrc |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [[ -f /etc/inputrc.ORIGINAL ]]; then |
|
|
if [[ -f /etc/inputrc.ORIGINAL ]]; then |
|
|
rm /etc/inputrc |
|
|
|
|
|
mv /etc/inputrc.ORIGINAL /etc/inputrc |
|
|
|
|
|
|
|
|
sudo rm /etc/inputrc |
|
|
|
|
|
sudo mv /etc/inputrc.ORIGINAL /etc/inputrc |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie} |
|
|
|
|
|
rm -rf /opt/miaou-bash |
|
|
|
|
|
|
|
|
sudo rm /etc/profile.d/20-miaou-bash.sh |
|
|
|
|
|
sudo rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie} |
|
|
|
|
|
sudo rm -rf /opt/miaou-bash |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# Main |
|
|
# Main |
|
|
|