From 1bd8701e783933c7126f65db7d8fd7a28dcfcb2c Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Sun, 18 Jul 2021 20:21:49 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20l'option=20--update=20=C3=A0=20ins?= =?UTF-8?q?tall.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 4118b1f..9dcccb6 100644 --- a/install.sh +++ b/install.sh @@ -8,3 +8,9 @@ cp -v borg-gui.sh $HOME/bin/ cp -v borg.svg $HOME/icons/ cp -v profil.txt $HOME/.config/borg/ cp -v sauvegarde-borg.desktop $HOME/.local/share/applications/ + +if [ "$1" = "--update" ];then + cp -fv borg-gui.sh $HOME/bin/ + cp -fv borg.svg $HOME/icons/ + cp -fv sauvegarde-borg.desktop $HOME/.local/share/applications/ +fi