From 7a6f3b6f965198cea63d141b9fbaf7ef177b6a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Tue, 19 Oct 2010 14:44:02 -0500 Subject: Use XDG_CONFIG_HOME and source that file if it exists --- librerelease | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'librerelease') diff --git a/librerelease b/librerelease index c7b21e6..f684e4d 100755 --- a/librerelease +++ b/librerelease @@ -20,9 +20,9 @@ # You should have received a copy of the GNU General Public License # along with Parabola. If not, see . - -if [-e $XDG_CONFIG_HOME/.libretools.conf]; then - source $XDG_CONFIG_HOME/.libretools.conf +custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf +if [-e $custom_config]; then + source $custom_config else source /etc/libretools.conf fi -- cgit v1.2.2