Commit e7ddc458 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: add hack for replace lib with lib64

parent 3c0e7165
......@@ -36,6 +36,14 @@ tolocal_anyrepl()
TARGETPKGNAME="$NEWRESULT"
return 0
fi
# Add hack for replace lib with lib64 on Mandriva
if [ "$VENDOR" = "mdv" ] && [ $DEFAULTARCH = "x86_64" ] ; then
local NEWRESULT=`echo $GREP | sed -e "s|^lib\([^6]\)|lib64\1|g"`
[ "$NEWRESULT" = "$GREP" ] && return 1
ALTPKGNAME=$GREP
TARGETPKGNAME="$NEWRESULT"
fi
return 1
}
......
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