Commit d0938c1e authored by Allan McRae's avatar Allan McRae
Browse files

Do not use tarball method if package specified



Avoid using the tarball method to update an empty ABS tree if a
repo/package is specified on the command line (FS#21124).
Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
parent 35ad63bd
......@@ -246,7 +246,7 @@ fi
##
# Use tarball method on first run
[ "$(ls -A $ABSROOT | sed -e 's#local##' -e 's#README##')" ] || TARBALL=1
[ "$(ls -A $ABSROOT | sed -e 's#local##' -e 's#README##')" -o "$CLPARAM" ] || TARBALL=1
if [ "$TARBALL" ]; then
update_tarball
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment