add delete to rsync
This commit is contained in:
@@ -105,8 +105,8 @@ printf "cryptdevice=UUID=%s:rootfs root=UUID=%s rootflags=subvol=@ rw initrd=\\i
|
|||||||
"$(_kernel_colors)"
|
"$(_kernel_colors)"
|
||||||
|
|
||||||
### Rsync
|
### Rsync
|
||||||
[[ "$_LOCATION" == "home" ]] && rsync -av /etc /data/
|
[[ "$_LOCATION" == "home" ]] && rsync -av --delete /etc /data/
|
||||||
[[ "$_LOCATION" == "home" ]] && rsync -av /root /data/
|
[[ "$_LOCATION" == "home" ]] && rsync -av /root --delete /data/
|
||||||
|
|
||||||
### Wait for user
|
### Wait for user
|
||||||
_info "Update sucessfull"
|
_info "Update sucessfull"
|
||||||
|
|||||||
Reference in New Issue
Block a user