FIX - Configuration file was overwritten.

This commit is contained in:
Olivier DOSSMANN 2018-08-04 17:53:49 +02:00
parent b1f70a1975
commit ffec3b0d98

View File

@ -36,11 +36,11 @@ fi
# Set rc_sys="prefix" to not disturb systemd on current system # 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" 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 # Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \ sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1 sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
# Launch chroot
sh $DIR/enter-chroot ./build
exit 0 exit 0