xbps-src: read specified config file in doinst-helper, if set.
This commit is contained in:
@@ -26,7 +26,11 @@
|
||||
|
||||
PKG_TMPLNAME="$1"
|
||||
|
||||
. @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf
|
||||
if [ -n "${CONFIG_FILE}" -a -r "${CONFIG_FILE}" ]; then
|
||||
. ${CONFIG_FILE}
|
||||
else
|
||||
. @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf
|
||||
fi
|
||||
|
||||
if [ -n "${MASTERDIR}" ]; then
|
||||
export XBPS_MASTERDIR="${MASTERDIR}"
|
||||
|
||||
Reference in New Issue
Block a user