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:
parent
6f554320fe
commit
64ab6616fa
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue