Commit dc8139a9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-epm_install: use SYSTEMARCH for distro independent arch checking

parent 06a41477
......@@ -29,7 +29,7 @@ __epm_korinf_site_mask() {
# short hack to install needed package
rhas "$MASK" "[-_]" || MASK="${MASK}[-_][0-9]"
# set arch for Korinf compatibility
[ "$DISTRARCH" = "x86_64" ] && archprefix="x86_64/"
[ "$SYSTEMARCH" = "x86_64" ] && archprefix="x86_64/"
local URL="$EPM_KORINF_REPO_URL/$archprefix$DISTRNAME/$DISTRVERSION"
if ! eget --check "$URL" ; then
tURL="$EPM_KORINF_REPO_URL/$archprefix$BASEDISTRNAME/$DISTRREPONAME"
......
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