X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpre-install;h=672055070d81a437674861cde052abdf7da15a00;hb=1d75c88d37b999ca7af69cb579c15fd4fa282869;hp=b9e314ce57d981a0fc8a27fa056ea757351998d1;hpb=1eb363044c6ee3115e62736aed4403b750082b44;p=hvlinux.git diff --git a/stage1/pre-install b/stage1/pre-install index b9e314c..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 ../sysinfos -source ../functions -source ../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