Commit 341e224b authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fix

parent 8189fb8e
......@@ -512,9 +512,7 @@ set_pm_type()
[ -n "$DISTRNAME" ] || DISTRNAME=$($DISTRVENDOR -d) || fatal "Can't get distro name."
[ -n "$DISTRVERSION" ] || DISTRVERSION=$($DISTRVENDOR -v)
if [ -z "$DISTRARCH" ] ; then
DISTRARCH=$($DISTRVENDOR -a)
# TODO: translate func
[ "$DISTRARCH" = "x86" ] && DISTRARCH="i586"
DISTRARCH=$($DISTRVENDOR --distro-arch)
fi
set_target_pkg_env
......
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