]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- mover banner to trigger
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 26 Nov 2010 11:22:24 +0000 (11:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amanda.spec -> 1.206

amanda.spec

index a725c13e4f497908dcef67f4edfdbde400ca85e6..d0aa32cf7e65af73972febcf369251731ce09f9d 100644 (file)
@@ -10,7 +10,7 @@ Summary:      A network-capable tape backup solution
 Summary(pl.UTF-8):     Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:          amanda
 Version:       3.2.0
-Release:       0.1
+Release:       0.2
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://dl.sourceforge.net/amanda/%{name}-%{version}.tar.gz
@@ -350,6 +350,13 @@ fi
 if [ "$1" = "1" ]; then
        echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
 fi
+
+%postun server
+if [ "$1" = 0 ]; then
+       %service -q rc-inetd reload
+fi
+
+%triggerpostun server -- amanda-server < 3.2.0
 %banner %{name} -e << EOF
 Warning: Tape changer configuration has chaged, please read
 %{_docdir}/%{name}-server-%{version}/ReleaseNotes.gz
@@ -358,11 +365,6 @@ You can use %{_sbindir}/amconvert-zd-mtx-to-robot.sh script
 to upgrade to chg-robot.
 EOF
 
-%postun server
-if [ "$1" = 0 ]; then
-       %service -q rc-inetd reload
-fi
-
 %files common
 %defattr(644,root,root,755)
 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING
This page took 0.038634 seconds and 4 git commands to generate.