Check and delete old blfs config if any

This commit is contained in:
Krizsán Péter 2024-11-21 15:50:58 +01:00
parent 758ddd1114
commit eb4c34f6ef

View File

@ -317,9 +317,12 @@ make
EOF
# Create new blfs config
cd "$1/home/pkr/blfs_root"
rm -fv configuration
cat > configuration << EOF
DIR_BLFSCFG="$1/home/pkr/blfs_root/configuration"
if [ -f "$DIR_BLFSCFG" ] ; then
sudo rm -fv "$DIR_BLFSCFG"
fi
cat > "$DIR_BLFSCFG" << EOF
CONFIG_pciutils=y
CONFIG_twm=y
CONFIG_xinit=y