Commit afe442b9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

common: APTCONF: use apt.conf if apt.conf.SS is missed

parent 1003daef
......@@ -360,6 +360,7 @@ set_target_pkg_env
if [ "$PKGVENDOR" = "alt" ] && [ -n "$MENV" ] ; then
#[ -n "$APTCONF" ] && fatal "Internal error: APTCONF already defined as $APTCONF for $MENV"
APTCONF=${APTCONFBASE/.SS}.$MENV
[ "$MENV" = "SS" ] && [ ! -r "$APTCONF" ] && APTCONF=${APTCONFBASE/.SS}
[ -n "$VERBOSE" ] && echog "Target ALT Linux system: `get_altdistr_version $MENV`, use \$APTCONF"
MENVARG="-$MENV"
......
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