mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/syslog-ng: fix config file name mangling
The config file name mangling was hard-coded to strip a specific file suffix. This breaks when config files have different revisions. Closes: https://bugs.gentoo.org/961446 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43431 Closes: https://github.com/gentoo/gentoo/pull/43431 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
83022b0d38
commit
33a01322c5
@@ -105,7 +105,7 @@ src_prepare() {
|
||||
|
||||
for f in syslog-ng.conf.gentoo.hardened.in-r1 \
|
||||
syslog-ng.conf.gentoo.in-r2; do
|
||||
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die
|
||||
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in*/}" || die
|
||||
done
|
||||
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user