Remove unnecessary rsync reference from backup script

The script already adds rsync to the path, no need to use the more
complex approach within the string.
This commit is contained in:
Daniel Siepmann 2022-08-09 12:01:33 +02:00
parent 6f554320fe
commit 64ab6616fa
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -25,7 +25,7 @@ writeShellApplication {
rsync -az --delete ~/.config/nixpkgs /media/daniels/Backup/
sudo ${rsync}/bin/rsync -az /etc/.git /media/daniels/Backup/etc/
sudo rsync -az /etc/.git /media/daniels/Backup/etc/
sudo chown daniels:daniels -R /media/daniels/Backup/etc/
cd /media/daniels/Backup/etc/
git reset --hard master