From 211c718cad082ad5acabc16a96ec7645f05e664d Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Sun, 25 Jul 2021 16:13:42 +0200 Subject: [PATCH] suppression de la section 'upgrade', correction des chemins --- install.sh | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 9dcccb6..25f7dbb 100644 --- a/install.sh +++ b/install.sh @@ -2,15 +2,9 @@ # Borg zenity install -mkdir $HOME/bin/ $HOME/icons/ +mkdir -p $HOME/bin/ $HOME/.icons/ $HOME/.local/share/applications/ -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 +cp -fv borg-gui.sh $HOME/bin/ +cp -fv borg.svg $HOME/.icons/ +cp -fv profil.txt $HOME/.config/borg/ +cp -fv sauvegarde-borg.desktop $HOME/.local/share/applications/