summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/server.c
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2007-05-18 01:24:59 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2007-05-18 01:24:59 -0500
commitebad1996149d72cf4a1fe15fe8326f2b4996f585 (patch)
tree1b450f6ad14aeab110f77737847a86e654468089 /lib/libalpm/server.c
parent1381b58ceb36dbb10cee10584a12ef341018c0fa (diff)
downloadpacman-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/server.c')
0 files changed, 0 insertions, 0 deletions