suppression de la section 'upgrade', correction des chemins
This commit is contained in:
parent
554b2c9c75
commit
211c718cad
12
install.sh
12
install.sh
@ -2,15 +2,9 @@
|
|||||||
|
|
||||||
# Borg zenity install
|
# 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-gui.sh $HOME/bin/
|
||||||
cp -fv borg.svg $HOME/icons/
|
cp -fv borg.svg $HOME/.icons/
|
||||||
|
cp -fv profil.txt $HOME/.config/borg/
|
||||||
cp -fv sauvegarde-borg.desktop $HOME/.local/share/applications/
|
cp -fv sauvegarde-borg.desktop $HOME/.local/share/applications/
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user