Package: spampd
Version: 2.20-16
Followup-For: Bug #317746

Man, you still didn't checked your script with posh %)
I've fixed some issues i found:

# diff /etc/init.d/spampd /etc/init.d/spampd.posix
26c26
< function istrue () {
---
> istrue () {
28c28
<     [ "$ANS" = 'yes' -o "$ANS" = 'true' -o "$ANS" = 'enable' -o "$ANS" = '1' ]
---
>     [ "$ANS" = "yes" ] || [ "$ANS" = "true" ] || [ "$ANS" = "enable" ] || [ 
> "$ANS" = "1" ]
83,84c83,84
< function check_pid () {
<       [ "$3" == "verbose" ] && VERBOSE=1
---
> check_pid () {
>       [ "$3" = "verbose" ] && VERBOSE=1
115c115
<               if [ "$?" == '0' ]; then
---
>               if [ "$?" = '0' ]; then
131c131
<                               --pidfile $PIDFILE >& /dev/null
---
>                               --pidfile $PIDFILE > /dev/null




-- System Information:
Debian Release: 3.1
  APT prefers proposed-updates
  APT policy: (670, 'proposed-updates'), (670, 'stable'), (620, 'testing'), 
(600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages spampd depends on:
ii  adduser                       3.63       Add and remove users and groups
ii  dpkg                          1.10.28    Package maintenance system for Deb
ii  libnet-server-perl            0.87-3     An extensible, general perl server
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  spamassassin                  3.0.3-2    Perl-based spam filter using text 

spampd recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to