sqg: use the configs from /etc

if I have set a different version or repo, then sqg ought to just use
those new variables. It's every install that I have to add this because
I switch sbopkg.conf to "SBo-git"/"current", and then `sqg` can't find
the SBo/14.2 or whatever repo.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-07-30 14:33:08 -04:00
parent e8a4142814
commit 2d8a4e0789
No known key found for this signature in database
GPG Key ID: 10937E57733F1362

View File

@ -31,6 +31,10 @@
SBOPKG_CONF=${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf} SBOPKG_CONF=${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}
if [ -e "${SBOPKG_CONF}" ] ; then
source "${SBOPKG_CONF}"
fi
### NO CHANGES SHOULD BE NECESSARY BELOW THIS LINE ### ### NO CHANGES SHOULD BE NECESSARY BELOW THIS LINE ###
# source all sqg functions # source all sqg functions