Règle le bug:
[hvlinux.git] / stage4 / hv-install-1
index 9ed64fd..52478e5 100755 (executable)
@@ -3,11 +3,7 @@
 source ../functions/main
 source /etc/profile
 
-if [ "x${USER}" != "xroot" ]; then
-    echo "You must be the superuser to install hvlinux."
-    exit 1
-fi
-
+check_for_root_user
 init_log_file
 
 LFS_PKG_DIR_ORIG=${LFS_PKG_DIR}
@@ -72,7 +68,6 @@ ipkg -m acnb ${MESALIB}
 install_xorg_modules ${XORG_APP}
 ipkg_xorg ${XCURSOR_THEMES} "data"
 install_xorg_modules ${XORG_FONT}
-rscr once "Configuring fonts" configure-fonts
 ipkg ${XKEYBOARD_CONFIG} ${XORG_CONFIG} --with-xkb-rules-symlink=xorg
 ipkg_xorg ${LUIT} "app"
 ipkg ${PIXMAN}
@@ -84,7 +79,7 @@ ipkg -m acnb ${DBUS_GLIB} \
     --disable-tests \
     --libexecdir=/usr/lib/dbus-1.0/dbus-1
 ipkg ${EGGDBUS}
-ipkg ${POLKIT}
+ipkg -m acnb ${POLKIT}
 ipkg -m acnb ${CONSOLEKIT} \
     --libexecdir=/usr/lib/ConsoleKit \
     --localstatedir=/var \