X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpre-install;h=15c38a817ac28bc9fdac3a4e525cccda15b76750;hb=564ec1bbb321286571c30da20b81620c33b18e6f;hp=c07c16349c38270c9b9ea7318416accff7ef09cb;hpb=16c81190b3ca1da2e26645020dd3cb9f8625521c;p=hvlinux.git diff --git a/stage0/pre-install b/stage0/pre-install index c07c163..15c38a8 100755 --- a/stage0/pre-install +++ b/stage0/pre-install @@ -19,7 +19,7 @@ fi # We cannot always automatically create the user 'lfs' because the installation # media can be a CD-ROM (read-only) If installing from some kind of live-CD, # simply install as root without the LFS user :) -if ! grep "lfs" /etc/passwd 1> /dev/null 2>&1; then +if ! grep -q "lfs" /etc/passwd; then groupadd -f lfs # The option '-k /dev/null' prevents possible copying of files from a # skeleton directory (default is /etc/skel).