diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-04 15:25:38 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-04 15:25:38 -0500 |
commit | ec4223a6a689b341bf4a60c3e7eb0e6211b0e5f3 (patch) | |
tree | 4a88742ff4bbdf7aa874c5763c3600eb5a1883ea /src/lib | |
parent | bd9e8f3d19098563f4798553176d3e3ab9b50b04 (diff) |
Found a mistake in librefetch-install, use @pkgconfdir@ to avoid those types of errors
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/conf.sh.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/conf.sh.in b/src/lib/conf.sh.in index 8042f8f..8305397 100644 --- a/src/lib/conf.sh.in +++ b/src/lib/conf.sh.in @@ -39,6 +39,7 @@ fi list_files() { local slug=$1 local sysconfdir=${_librelib_conf_sh_sysconfdir:-@sysconfdir@} + local pkgconfdir=${_librelib_conf_sh_pkgconfdir:-@pkgconfdir@} case $slug in abs) echo "${sysconfdir}/$slug.conf" @@ -71,7 +72,7 @@ list_files() { echo "$XDG_CONFIG_HOME/libretools/$slug.conf" ;; *) - echo "${sysconfdir}/libretools.d/$slug.conf" + echo "${pkgconfdir}/$slug.conf" echo "$XDG_CONFIG_HOME/libretools/$slug.conf" ;; esac |