install2
This commit is contained in:
+7
-6
@@ -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
|
sudo rm /etc/bash.bashrc
|
||||||
mv /etc/bash.bashrc.ORIGINAL /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
|
sudo rm /etc/inputrc
|
||||||
mv /etc/inputrc.ORIGINAL /etc/inputrc
|
sudo mv /etc/inputrc.ORIGINAL /etc/inputrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
|
sudo rm /etc/profile.d/20-miaou-bash.sh
|
||||||
rm -rf /opt/miaou-bash
|
sudo rm -f /etc/vimrc/vimrc.{azerty,core,local,miaou,rookie}
|
||||||
|
sudo rm -rf /opt/miaou-bash
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main
|
# Main
|
||||||
|
|||||||
Reference in New Issue
Block a user