rpms/device-mapper-multipath/devel device-mapper-multipath.spec, 1.59, 1.60
Benjamin Marzinski
bmarzins at fedoraproject.org
Thu Jul 30 01:34:50 UTC 2009
- Previous message (by thread): rpms/jvyamlb/devel dead.package, NONE, 1.1 Makefile, 1.1, NONE jvyamlb.spec, 1.7, NONE sources, 1.4, NONE
- Next message (by thread): rpms/kadu-theme/devel dead.package, NONE, 1.1 COPYING.GPL, 1.1, NONE COPYING.LGPL, 1.1, NONE Makefile, 1.1, NONE kadu-theme.spec, 1.4, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bmarzins
Update of /cvs/pkgs/rpms/device-mapper-multipath/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18205/device-mapper-multipath/devel
Modified Files:
device-mapper-multipath.spec
Log Message:
fixed the spec file, so that multipath will not lose its binding if it is
upgraded from a package where the bindings file was stored in
/var/lib/multipath/bindings
Index: device-mapper-multipath.spec
===================================================================
RCS file: /cvs/pkgs/rpms/device-mapper-multipath/devel/device-mapper-multipath.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -p -r1.59 -r1.60
--- device-mapper-multipath.spec 29 Jul 2009 22:54:06 -0000 1.59
+++ device-mapper-multipath.spec 30 Jul 2009 01:34:50 -0000 1.60
@@ -98,6 +98,12 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
/sbin/chkconfig --add multipathd
+if [ "$1" -gt "1" -a ! -e /etc/multipath/bindings -a \
+ -f /var/lib/multipath/bindings ]; then
+ mv /var/lib/multipath/bindings /etc/multipath/bindings
+ ln -s /etc/multipath/bindings /var/lib/multipath/bindings
+fi
+
%preun
if [ "$1" = 0 ]; then
- Previous message (by thread): rpms/jvyamlb/devel dead.package, NONE, 1.1 Makefile, 1.1, NONE jvyamlb.spec, 1.7, NONE sources, 1.4, NONE
- Next message (by thread): rpms/kadu-theme/devel dead.package, NONE, 1.1 COPYING.GPL, 1.1, NONE COPYING.LGPL, 1.1, NONE Makefile, 1.1, NONE kadu-theme.spec, 1.4, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list