17 lines
386 B
Bash
17 lines
386 B
Bash
#! /bin/bash
|
|
|
|
# Borg zenity install
|
|
|
|
mkdir $HOME/bin/ $HOME/icons/
|
|
|
|
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
|