Commit 7174ba51 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repopkg: always use i586 arch for 32 bit packages

parent abd9960e
......@@ -39,6 +39,9 @@ __epm_repo_pkgadd_alt()
while [ -s "$1" ] ; do
arch="$(epm print arch from filename "$1")" || fatal
# arch hack (it is better to repack firstly)
[ "$arch" = "i686" ] && arch="i586"
[ "$arch" = "i386" ] && arch="i586"
epm checkpkg "$1" || fatal
cp -v "$1" $REPO_DIR/$arch/RPMS.$REPO_NAME || fatal
shift
......
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