2019-05-24

This commit is contained in:
Baho Utot 2019-05-24 09:17:50 -04:00
parent b6879a569b
commit e42cf13d67
2 changed files with 1 additions and 2 deletions

View File

@ -314,7 +314,6 @@ function _gcc {
} }
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Main line # Main line
[ $(whoami) = "root" ] || die "Not running as user root, you should be!"
# Create directories if needed # Create directories if needed
[ -e "${LOGS}" ] || install -vdm 755 "${LOGS}" [ -e "${LOGS}" ] || install -vdm 755 "${LOGS}"
[ -e "${INFOS}" ] || install -vdm 755 "${INFOS}" [ -e "${INFOS}" ] || install -vdm 755 "${INFOS}"

2
lfs.sh
View File

@ -90,7 +90,7 @@ msg_line " Unmounting Virtual Kernel File Systems: "
mountpoint -q ${LFS}/dev && umount ${LFS}/dev mountpoint -q ${LFS}/dev && umount ${LFS}/dev
msg_success msg_success
msg_line " Changing file ownership: " msg_line " Changing file ownership: "
chown -R 0:0 ${LFS} chown -R root:root ${LFS}
msg_success msg_success
msg_line " Preparing Virtual Kernel File Systems: " msg_line " Preparing Virtual Kernel File Systems: "
[ -d ${LFS}/dev ] || mkdir -p ${LFS}/dev [ -d ${LFS}/dev ] || mkdir -p ${LFS}/dev