about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-02 09:14:22 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-02 09:14:22 +0200
commitd09421cfe19585e24cc5220525ea48a3e381ebc7 (patch)
tree1275ac8a7648092793e616a813cea9bd8cf83721
parent5c49a31161325efca85118b78b93afe4ce806a97 (diff)
downloadhrmpf-d09421cfe19585e24cc5220525ea48a3e381ebc7.tar.gz
hrmpf-d09421cfe19585e24cc5220525ea48a3e381ebc7.tar.xz
hrmpf-d09421cfe19585e24cc5220525ea48a3e381ebc7.zip
mklive: remove a check that is no longer necessary.
-rw-r--r--mklive.sh.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/mklive.sh.in b/mklive.sh.in
index 0aa0bf4..d5dc545 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -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