xbps-src: read specified config file in doinst-helper, if set.
This commit is contained in:
parent
66c78b3ddc
commit
5dc6d62e3e
2 changed files with 6 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue