mklive: remove a check that is no longer necessary.

This commit is contained in:
Juan RP 2014-08-02 09:14:22 +02:00
parent 5c49a31161
commit d09421cfe1
1 changed files with 0 additions and 9 deletions

View File

@ -297,17 +297,8 @@ ISOLINUX_CFG="$ISOLINUX_DIR/isolinux.cfg"
: ${XBPS_RECONFIGURE_CMD:=xbps-reconfigure}
mkdir -p $ROOTFS $VOIDHOSTDIR $ISOLINUX_DIR $GRUB_DIR
#
# Check there are repos registered before anything.
#
${XBPS_QUERY_CMD} -L >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "No repositories available, exiting..."
error_out
fi
info_msg "Redirecting stdout/stderr to $LOGFILE ..."
info_msg "[1/9] Synchronizing XBPS repository data..."
# Sync index for remote repos first.
copy_void_keys $ROOTFS