rpms/amanda/devel amanda.spec,1.52,1.53

Daniel Novotny dnovotny at fedoraproject.org
Thu Oct 23 08:45:18 UTC 2008


Author: dnovotny

Update of /cvs/pkgs/rpms/amanda/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1768

Modified Files:
	amanda.spec 
Log Message:

added traling || : in the %pre client script



Index: amanda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amanda/devel/amanda.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- amanda.spec	20 Oct 2008 10:33:59 -0000	1.52
+++ amanda.spec	23 Oct 2008 08:44:47 -0000	1.53
@@ -7,7 +7,7 @@
 Summary: A network-capable tape backup solution
 Name: amanda
 Version: 2.6.0p2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
 #Source: http://www.zmanda.com/downloads/community/community-builds/amanda-%{version}.tar.gz
 Source1: amanda.crontab
@@ -188,7 +188,7 @@
 %pre client
 # when upgrading, move /etc/amandates to /var/lib/amanda/amandates
 [ -f /etc/amandates ] &&
-	mv /etc/amandates /var/lib/amanda/amandates
+	mv /etc/amandates /var/lib/amanda/amandates || :
 
 %post client -p /sbin/ldconfig
 
@@ -373,6 +373,9 @@
 %{_libdir}/libamandad.so
 
 %changelog
+* Thu Oct 23 2008 Daniel Novotny <dnovotny at redhat.com> 2.6.0p2-3
+- added trailing || : in the %%pre client script
+
 * Fri Oct 10 2008 Orion Poplawski <orion at cora.nwra.com> 2.6.0p2-2
 - Drop duplicated libamglue.so from -devel
 - Update -pie patch




More information about the fedora-extras-commits mailing list