- fix init script for case when no action was specified

This commit is contained in:
Michal Hlavinka 2009-10-09 19:01:08 +00:00
parent 47d0637e61
commit eed6bdbfd6
4 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,4 @@
dovecot-1.2.6.tar.gz
dovecot-1.2-managesieve-0.11.9.tar.gz
dovecot-1.2.5-managesieve-0.11.9.diff.gz
dovecot-1.2.6-managesieve-0.11.9.diff.gz
dovecot-1.2-sieve-0.1.12.tar.gz

View File

@ -98,8 +98,8 @@ case "$1" in
;;
*)
echo $"Usage: $0 {condrestart|try-restart|start|stop|restart|reload|force-reload|status}"
[ $1 = 'usage' ] && exit 0
exit 2
RETVAL=2
[ "$1" = 'usage' ] && RETVAL=0
esac
exit $RETVAL

View File

@ -2,7 +2,7 @@ Summary: Secure imap and pop3 server
Name: dovecot
Epoch: 1
Version: 1.2.6
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT and LGPLv2 and BSD with advertising
Group: System Environment/Daemons
@ -31,7 +31,7 @@ Source7: dovecot-REDHAT-FAQ.txt
Source8: http://www.rename-it.nl/dovecot/1.2/%{sieve_name}-%{sieve_version}.tar.gz
Source9: dovecot.sysconfig
Source10: http://www.rename-it.nl/dovecot/1.2/%{managesieve_name}-%{managesieve_version}.tar.gz
Source11: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.5-managesieve-%{managesieve_version}.diff.gz
Source11: http://www.rename-it.nl/dovecot/1.2/dovecot-1.2.6-managesieve-%{managesieve_version}.diff.gz
# 3x Fedora specific
Patch1: dovecot-1.1-default-settings.patch
@ -435,6 +435,9 @@ fi
%changelog
* Fri Oct 09 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:1.2.6-2
- fix init script for case when no action was specified
* Tue Oct 06 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:1.2.6-1
- dovecot updated to 1.2.6
- Added authtest utility for doing passdb and userdb lookups.

View File

@ -1,4 +1,4 @@
807666f1a112e7379c4dbb57c9ce4899 dovecot-1.2.6.tar.gz
923d4965e0b357db493f3b2cb106d8d7 dovecot-1.2-managesieve-0.11.9.tar.gz
22639d0bc4ff424282bd3f8fe8db9ab5 dovecot-1.2.5-managesieve-0.11.9.diff.gz
615d5d1ad843654384ca11cf523c2bbc dovecot-1.2.6-managesieve-0.11.9.diff.gz
8749f26606c4563f0676bacc44e89ca2 dovecot-1.2-sieve-0.1.12.tar.gz