Updated install.sh

This commit is contained in:
Peter Green 2023-01-09 14:53:51 +00:00
parent 5856a0f5ff
commit be95468546
1 changed files with 5 additions and 5 deletions

View File

@ -18,11 +18,6 @@ if [ -d "$HOME"/bin ];
else mkdir "$HOME"/bin
fi
# Edit the menu entry file...
sed -i "s|Exec=|Exec=$HOME/bin/backup_home/Backup.sh|" "$pwd"/Backup.desktop
sed -i "s|Icon=|Icon=$HOME/bin/backup_home/Backup.svg|" "$pwd"/Backup.desktop
# Make the root dir...
mkdir "$HOME"/bin/backup_home
@ -35,6 +30,11 @@ cp "$pwd"/README.md "$HOME"/bin/backup_home
cp "$pwd"/uninstall.sh "$HOME"/bin/backup_home
cp "$pwd"/Backup.desktop "$HOME"/.local/share/applications
# Edit the menu entry file...
sed -i "s|Exec=|Exec=$HOME/bin/backup_home/Backup.sh|" "$HOME"/bin/backup_home/Backup.desktop
sed -i "s|Icon=|Icon=$HOME/bin/backup_home/Backup.svg|" "$HOME"/bin/backup_home/Backup.desktop
# Let the user know we have finished...
echo "All done! Press 'Enter' to close this window..."