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»"