From 416200964fc173a0ec7437f2396f3fac0c4d9f12 Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Fri, 29 Apr 2022 17:52:12 +0200 Subject: [PATCH] suppression des fichiers d'installation --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f9fca93..ff654b7 100644 --- a/install.sh +++ b/install.sh @@ -29,6 +29,9 @@ sudo chmod a+rx /opt/borg-zenity/profile-manager.sh mkdir -vp $HOME/.config/borg/ cp -fv borg-zenity.conf $HOME/.config/borg/ +if [ -f readme.md ];then cd ..;fi +if [ -f borg-zenity.zip ];then rm -v borg-zenity.zip;fi +if [ -d borg-zenity ];then rm -rv borg-zenity;fi + echo "--------------------" echo "Installation terminée." -echo "Vous pouvez supprimer le dossier «borg-zenity» et le fichier «borg-zenity.zip»"