[pacman-dev] [PATCH] contrib: Use sysconfdir instead of /etc
William Giokas
1007380 at gmail.com
Mon Apr 1 06:19:35 EDT 2013
Don't force people to see /etc.
Signed-off-by: William Giokas <1007380 at gmail.com>
---
contrib/zsh_completion.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index f9d1106..c6e884f 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -472,8 +472,8 @@ _key_longopts=(
)
_pacman_key_options=(
- '--config[Use an alternate config file (instead of /etc/pacman.con)]: :_files'
- '--gpgdir[Set an alternate directory for GnuPG (instead of /etc/pacman.d/gnupg)]: :_files -/'
+ '--config[Use an alternate config file (instead of @sysconfdir@/pacman.conf)]: :_files'
+ '--gpgdir[Set an alternate directory for GnuPG (instead of @sysconfdir@/pacman.d/gnupg)]: :_files -/'
'--keyserver[Specify a keyserver to use if necessary]'
)
@@ -579,7 +579,7 @@ _makepkg_longopts=(
'--allsource[Generate a source-only tarball including downloaded source]'
'--asroot[Allow makepkg to run as root user]'
'--check[Run check() function in the PKGBUILD]'
- '--config[Use an alternate config file instead of '/etc/makepkg.conf']: :_files'
+ '--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files'
'--holdver[Prevent automatic version bumping for development PKGBUILDs]'
'--key[Specify key to use for gpg signing instead of the default]: :_keys'
'--nocheck[Do not run the check() function in the PKGBUILD]'
--
1.8.2.282.ga32a0c2
More information about the pacman-dev
mailing list