X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpre-install;h=672055070d81a437674861cde052abdf7da15a00;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=b1aeead9536657b3698cfe18c3c188ad19af5185;hpb=f920c7ef750f2163b9e407cc453b192ede2c185a;p=hvlinux.git diff --git a/stage1/pre-install b/stage1/pre-install index b1aeead..6720550 100755 --- a/stage1/pre-install +++ b/stage1/pre-install @@ -1,15 +1,6 @@ #!/bin/bash -# Reading system configuration informations, functions and package versions. -source ../config/sysinfos -source ../functions -source ../config/packages-list - -# 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 +source ../functions/main # Making sure that the LFS directory is accessible if [ ! -d ${LFS} ]; then