source ../functions/main
-# Making sure that this script was executed by the root user
-if [ "x${USER}" != "xroot" ]; then
- echo "You must be the superuser to install hvlinux."
- exit 1
-fi
-
# Making sure that the LFS directory is accessible
if [ ! -d ${LFS} ]; then
echo "LFS destination directory not found."
fi
# Creating basic directories
-for subdir in tmp var tools cross-tools; do
+for subdir in etc tmp var tools cross-tools; do
dir=${LFS}/${subdir}
if [ ! -d ${dir} ]; then
install -dv ${dir}