From 5e554a59323b48bd6c0c6e87f652fc9d505433b6 Mon Sep 17 00:00:00 2001 From: pkr Date: Sun, 17 Nov 2024 20:45:59 +0100 Subject: [PATCH] Fix blfs_root folder move --- lfsSetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfsSetup.sh b/lfsSetup.sh index cfa1589..ff45735 100755 --- a/lfsSetup.sh +++ b/lfsSetup.sh @@ -287,7 +287,7 @@ make sudo sed -i "/^root ALL=(ALL:ALL) ALL/a pkr ALL=(ALL:ALL) NOPASSWD: ALL" "$1/etc/sudoers" # Move blfs folder to pkr home folder -sudo mv -v "$1/blfs_root" "$1/home/pkr" -sudo chown -hR pkr:pkr "$1/home/pkr" +sudo mv -v "$1/blfs_root" "$1/home/pkr/" +sudo chown -hR pkr:pkr "$1/home/pkr/blfs_root" sudo chown -hR pkr:pkr "$1/var/lib/jhalfs" sudo sed -i "s|/blfs_root/packdesc.dtd|/home/pkr/blfs_root/packdesc.dtd|g" "$1/var/lib/jhalfs/BLFS/instpkg.xml"