Commit 0b1d5cd0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repoindex: add support for dir without arch component

parent 63ebf6fe
......@@ -69,6 +69,12 @@ __epm_repoindex_alt()
return
fi
if [ -d "$REPO_DIR/RPMS.$REPO_NAME" ] ; then
mkdir -pv "$REPO_DIR/base/"
docmd genbasedir --bloat --progress --topdir=$(dirname $REPO_DIR) $(basename $REPO_DIR) $REPO_NAME
return
fi
for arch in $archlist; do
[ -d "$REPO_DIR/$arch/RPMS.$REPO_NAME" ] || continue
mkdir -pv "$REPO_DIR/$arch/base/"
......
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