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/