]> git.pld-linux.org Git - packages/courier.git/commitdiff
- update post,pre for webmail, rel. 0.7
authorAndrzej Augustynowicz <andrzej@augustynowicz.eu.org>
Fri, 28 May 2004 11:58:43 +0000 (11:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier.spec -> 1.87

courier.spec

index a09e1ff53e5e83030ebc7da4ff181ff286169142..59ff01bf1dcd6b8cdef5d38fc4609a5709d50cb2 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Courier mail server
 Summary(pl):   Serwer poczty Courier
 Name:          courier
 Version:       0.45.5
-Release:       0.6
+Release:       0.7
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
@@ -640,19 +640,19 @@ echo If you want to have calendar starting by default then
 echo put word net to %{_sysconfdir}/calendarmode
 echo
 fi
-if ps -A |grep -q sqwebmaild; then
-    %{_libdir}/courier/sqwebmaild stop
-    %{_libdir}/courier/sqwebmaild start
+if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
+    %{_sbindir}/webmaild stop
+    %{_sbindir}/webmaild start
 else
 echo
-echo Type "%{_libdir}/courier/sqwebmaild start" to start webmail server
+echo Type "%{_sbindir}/webmaild start" to start webmail server
 echo
 fi
 
 %preun webmail
 if [ "$1" = "0" ]; then
-    if ps -A |grep -q sqwebmaild; then
-       %{_libdir}/courier/sqwebmaild stop
+    if [ -e %{_localstatedir}/tmp/sqwebmaild.pid ]; then
+       %{_sbindir}/webmaild stop
     fi
 fi
 
This page took 0.049693 seconds and 4 git commands to generate.