Commit d6140b83 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add support for ETERBUILD_APTREPO conf

parent 54c7c54f
......@@ -52,4 +52,10 @@ prepare_aptconfig()
print_tmp_aptconf $APTCONF >$OURAPTCONF || fatal "Can't create apt.conf"
export OURSOURCES=$OURTMPDIR/sources.list.$MENV
print_tmp_sourceslist $APTCONF >$OURSOURCES || fatal "Can't create sources.list"
if [ -n "$ETERBUILD_APTREPO" ] ; then
cat <<EOF >>$OURSOURCES
# Apply repo from $ETERBUILD_APTREPO variable
$ETERBUILD_APTREPO
EOF
fi
}
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