diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-28 17:01:04 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-08-28 17:01:04 +0200 |
commit | c3ea98f4c4819ca9731eb99e786c5ed0948518d7 (patch) | |
tree | f77cbcc3e4577615aa28e2b0c811d4f7f56bc937 | |
parent | 604116eff7da7f84f6e294b0dd6e80c3f8155736 (diff) | |
download | rpm-c3ea98f4c4819ca9731eb99e786c5ed0948518d7.tar.gz rpm-c3ea98f4c4819ca9731eb99e786c5ed0948518d7.tar.bz2 rpm-c3ea98f4c4819ca9731eb99e786c5ed0948518d7.zip |
Use SYSCONFDIR "/rpmrc" instead of hard-coded /etc/rpmrc.
-rw-r--r-- | lib/rpmrc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c index 574d3e164..d55cd7599 100644 --- a/lib/rpmrc.c +++ b/lib/rpmrc.c @@ -23,7 +23,9 @@ #include "debug.h" /*@observer@*/ /*@unchecked@*/ -static const char *defrcfiles = LIBRPMRC_FILENAME ":" VENDORRPMRC_FILENAME ":/etc/rpmrc:~/.rpmrc"; +static const char *defrcfiles = LIBRPMRC_FILENAME ":" VENDORRPMRC_FILENAME + ":" SYSCONFDIR "/rpmrc" + ":~/.rpmrc"; /*@observer@*/ /*@checked@*/ const char * macrofiles = |