Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75555 Details for
Bug 111677
Bacula 1.38.0 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
die if sed failed
die_if_sed_failed.patch (text/plain), 1.93 KB, created by
Tomoyuki Sakurai (RETIRED)
on 2005-12-26 07:55:35 UTC
(
hide
)
Description:
die if sed failed
Filename:
MIME Type:
Creator:
Tomoyuki Sakurai (RETIRED)
Created:
2005-12-26 07:55:35 UTC
Size:
1.93 KB
patch
obsolete
>--- bacula-1.38.3.ebuild-orig 2005-12-27 00:24:01.000000000 +0900 >+++ bacula-1.38.3.ebuild 2005-12-27 00:29:56.000000000 +0900 >@@ -56,15 +56,24 @@ > > # This changes the default conf files to /etc/bacula files > sed -i -e 's:"./gnome-console.conf":"/etc/bacula/gnome-console.conf":' \ >- src/gnome-console/console.c src/gnome2-console/console.c >+ src/gnome-console/console.c src/gnome2-console/console.c \ >+ || die "sed failed" > sed -i -e 's:"./tray-monitor.conf":"/etc/bacula/tray-monitor.conf":' \ >- src/tray-monitor/tray-monitor.c >+ src/tray-monitor/tray-monitor.c \ >+ || die "sed failed" > sed -i -e 's:"bacula-sd.conf":"/etc/bacula/bacula-sd.conf":' src/stored/bls.c \ > src/stored/bextract.c src/stored/bcopy.c src/stored/bscan.c src/stored/btape.c \ >- src/stored/stored.c >- sed -i -e 's:"./bacula-fd.conf":"/etc/bacula/bacula-fd.conf":' src/filed/filed.c >- sed -i -e 's:"./bacula-dir.conf":"/etc/bacula/bacula-dir.conf":' src/dird/dird.c >- sed -i -e 's:"./bconsole.conf":"/etc/bacula/bconsole.conf":' src/console/console.c >+ src/stored/stored.c \ >+ || die "sed failed" >+ sed -i -e 's:"./bacula-fd.conf":"/etc/bacula/bacula-fd.conf":' \ >+ src/filed/filed.c \ >+ || die "sed failed" >+ sed -i -e 's:"./bacula-dir.conf":"/etc/bacula/bacula-dir.conf":' \ >+ src/dird/dird.c \ >+ || die "sed failed" >+ sed -i -e 's:"./bconsole.conf":"/etc/bacula/bconsole.conf":' \ >+ src/console/console.c \ >+ || die "sed failed" > } > > src_compile() { >@@ -144,7 +153,8 @@ > else > USEDB='' > fi >- sed -i -e "s:%%USE_DB%%:${USEDB}:" ${D}/etc/init.d/bacula >+ sed -i -e "s:%%USE_DB%%:${USEDB}:" ${D}/etc/init.d/bacula \ >+ || die "sed failed" > > insinto /etc/conf.d > newins ${FILESDIR}/bacula-conf bacula >@@ -153,7 +163,8 @@ > else > SERVICES='sd fd dir' > fi >- sed -i -e "s:%%SERVICES%%:${SERVICES}:" ${D}/etc/conf.d/bacula >+ sed -i -e "s:%%SERVICES%%:${SERVICES}:" ${D}/etc/conf.d/bacula \ >+ || die "sed failed" > > chgrp bacula ${D}/usr/sbin/* > chgrp -R bacula ${D}/etc/bacula
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111677
:
75550
|
75555
|
75586
|
77777