Commit a598c0b8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

set APTCONF only if empty

add load_mod func
parent eb49b25c
......@@ -75,7 +75,7 @@ TARGET=`distr_vendor -p`
VENDOR=`distr_vendor -s`
if [ "$VENDOR" = "alt" ] && [ -n "$MENV" ] ; then
APTCONF=${APTCONF/.SS}.$MENV
[ -n "$APTCONF" ] || APTCONF=${APTCONFBASE/.SS}.$MENV
echog "Target ALT Linux system: `get_distr_version $MENV`, use \$APTCONF"
MENVARG="-$MENV"
......@@ -177,3 +177,8 @@ add_changelog_helper()
return $R
}
load_mod()
{
. $ETERBUILDDIR/functions/$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