Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 620258 Details for
Bug 862240
Bacula-storage-common wrongly removes alternatives for bcopy during update.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for spec file
spec.patch (text/plain), 1.83 KB, created by
Lukáš Nykrýn
on 2012-10-02 12:08:35 UTC
(
hide
)
Description:
Patch for spec file
Filename:
MIME Type:
Creator:
Lukáš Nykrýn
Created:
2012-10-02 12:08:35 UTC
Size:
1.83 KB
patch
obsolete
>diff --git a/bacula.spec b/bacula.spec >index 57dacc5..734e8e9 100644 >--- a/bacula.spec >+++ b/bacula.spec >@@ -8,7 +8,7 @@ > Summary: Cross platform network backup for Linux, Unix, Mac and Windows > Name: bacula > Version: 5.0.0 >-Release: 11%{?dist} >+Release: 12%{?dist} > # See LICENSE for details > License: GPLv2 with exceptions > Group: System Environment/Daemons >@@ -745,16 +745,25 @@ fi > > > %post storage-mysql >+if [ $1 -gt 1 ]; then >+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.mysql >+fi > /usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.mysql 50 \ > --slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.mysql > > > %post storage-sqlite >+if [ $1 -gt 1 ]; then >+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.sqlite >+fi > /usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.sqlite 40 \ > --slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.sqlite > > > %post storage-postgresql >+if [ $1 -gt 1 ]; then >+ /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.postgresql >+fi > /usr/sbin/alternatives --install /usr/sbin/bcopy bacula-sd /usr/sbin/bcopy.postgresql 60 \ > --slave /usr/sbin/bscan bacula-bscan /usr/sbin/bscan.postgresql > >@@ -809,13 +818,6 @@ fi > > > %post storage-common >-#Upgrade scriptlet for (#651787) >-if [ $1 -gt 1 ]; then >- /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.mysql >- /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.sqlite >- /usr/sbin/alternatives --remove bacula-sd /usr/sbin/bcopy.postgresql >-fi >- > /sbin/chkconfig --add bacula-sd > > >@@ -1037,6 +1039,9 @@ fi > > > %changelog >+* Tue Oct 02 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.0-12 >+- fix alternatives in scriptlets (#862240) >+ > * Thu Sep 20 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 5.0.0-11 > - Add create to logrotate to preserve selinux context (#728697) >
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 862240
: 620258