borg-zenity/install.sh

17 lines
386 B
Bash
Raw Normal View History

2021-05-08 13:27:24 +02:00
#! /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