diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-05-18 08:24:59 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-05-18 08:24:59 +0200 |
commit | ebad1996149d72cf4a1fe15fe8326f2b4996f585 (patch) | |
tree | 1b450f6ad14aeab110f77737847a86e654468089 /lib/libalpm/cache.c | |
parent | 1381b58ceb36dbb10cee10584a12ef341018c0fa (diff) | |
download | pacman-ebad1996149d72cf4a1fe15fe8326f2b4996f585.tar.gz pacman-ebad1996149d72cf4a1fe15fe8326f2b4996f585.tar.xz |
Allow $repo expansion in 'Server' config lines
Small change (addition of a 'strreplace' function) which replaces
any $repo tokens found in a server line with the name of the repo
or section being processed.
While this is more simplistic than suggestions on flyspray, it works
and I think it is cleaner. Merits can be discussed further.
Ref: FS#6389
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'lib/libalpm/cache.c')
0 files changed, 0 insertions, 0 deletions