commit c81f3b1c9d9179fceffc5a1750d6dc72ce58ddba parent 0d43ddda6fd9bc8a80515fcf543366af71079dc0 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Wed, 27 Jul 2022 02:55:20 +0200 Exclude new location of HISTFILE from overwrite Diffstat:
M | overwrite_from_image | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/overwrite_from_image b/overwrite_from_image @@ -8,4 +8,4 @@ if ! rsync -l $img/boot/extlinux.conf; then fi mount -o remount,rw /boot || exit $? rsync -aAvPx $img/boot/ /boot/ --delete --exclude ldlinux.\* || exit $? -rsync -aAvPx $img/ / --delete --exclude root/.\*history || exit $? +rsync -aAvPx $img/ / --delete --exclude root/.\*history --exclude root/.local/share || exit $?