From e2931fdf2ffdf4b54bb208217e73ba5594d0ed87 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 18 Aug 2026 13:06:09 +0400 Subject: [PATCH] install2 --- lib/uninstall.bash | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/uninstall.bash b/lib/uninstall.bash index 9a3f362..65feb9d 100644 --- a/lib/uninstall.bash +++ b/lib/uninstall.bash @@ -6,17 +6,18 @@ function uninstall { 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 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 - 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