ajout de l'option --update à install.sh

This commit is contained in:
Djan GICQUEL 2021-07-18 20:21:49 +02:00
parent 366d9f9aee
commit 1bd8701e78
1 changed files with 6 additions and 0 deletions

View File

@ -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