xbps-src: if ~/.xbps-src.conf exists, read it after etc/conf.

This commit is contained in:
Juan RP 2014-04-23 16:37:02 +02:00
parent 0606b3bbc8
commit eaf79d8b78
1 changed files with 4 additions and 0 deletions

View File

@ -358,6 +358,10 @@ else
. $XBPS_DISTDIR/etc/defaults.conf . $XBPS_DISTDIR/etc/defaults.conf
fi fi
readonly XBPS_CONFIG_FILE=$XBPS_DISTDIR/etc/conf readonly XBPS_CONFIG_FILE=$XBPS_DISTDIR/etc/conf
# If ~/.xbps-src.conf exists, use it too.
if [ -s $HOME/.xbps-src.conf ]; then
. $HOME/.xbps-src.conf
fi
fi fi
# #