Replace /var/lib/pacman instead of /var/lib
This commit is contained in:
parent
3ead61252c
commit
d158f6cf05
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@ run_latehook() {
|
||||||
mv /new_root/usr /new_root/.old.usr
|
mv /new_root/usr /new_root/.old.usr
|
||||||
mv /new_root/mnt/iso-update/squashfs-root/usr /new_root/usr
|
mv /new_root/mnt/iso-update/squashfs-root/usr /new_root/usr
|
||||||
|
|
||||||
# Same for /var/lib.
|
# Same for /var/lib/pacman.
|
||||||
mv /new_root/var/lib /new_root/.old.var.lib
|
mv /new_root/var/lib/pacman /new_root/.old.var.lib.pacman
|
||||||
mv /new_root/mnt/iso-update/squashfs-root/var/lib /new_root/var
|
mv /new_root/mnt/iso-update/squashfs-root/var/lib/pacman /new_root/var/lib
|
||||||
|
|
||||||
# Move to /etc stage.
|
# Move to /etc stage.
|
||||||
rm -f /new_root/mnt/iso-update/.ready-for-update
|
rm -f /new_root/mnt/iso-update/.ready-for-update
|
||||||
|
|
Loading…
Reference in a new issue