Update install.sh

This commit is contained in:
Peter Green 2023-01-09 14:54:32 +00:00
parent be95468546
commit bc79155f93
1 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@
pwd=$(pwd)
# Find out what the src and dest are...
echo "Please enter your source path"
read -r src
sed -i "s|source=|source=$src|" "$pwd"/Backup.sh
@ -22,7 +21,6 @@ fi
mkdir "$HOME"/bin/backup_home
# Copy files over to ~/bin
cp "$pwd"/Backup.sh "$HOME"/bin/backup_home
cp "$pwd"/Backup.svg "$HOME"/bin/backup_home
cp "$pwd"/LICENSE "$HOME"/bin/backup_home
@ -31,11 +29,9 @@ 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..."
read -r