From ffec3b0d986c2cfe2dec05afaa5a89c114960749 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 4 Aug 2018 17:53:49 +0200 Subject: [PATCH] FIX - Configuration file was overwritten. --- install-and-chroot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 67f6570..9933684 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -36,11 +36,11 @@ fi # Set rc_sys="prefix" to not disturb systemd on current system sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" +# Launch chroot +sh $DIR/enter-chroot ./build + # Insert pkg++ configuration in chroot sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 -# Launch chroot -sh $DIR/enter-chroot ./build - exit 0