annotate debian/prerm @ 390:2ad4c1c97734 noffle

[svn] * src/client.c: Return correct status from Client_postArt() and add function comment detailing what return code should be, because it's not obvious that the return code should report success when the posting failed for reasons other than connection problems. This should fix problem with failing posting stopping fetches. Thanks to Dan Jacobson for spotting this. * src/client.c: Fix problemette with filter discards not updating remote group article count and so the overview being refetched until and article appears that doesn't fall foul of the filter and thus does update the remove group 'next article' marker. Thanks to Dan Jacobson for spotting this. * src/content.c: Don't be fooled into thinking a filename starting ".." is just "..". * src/outgoing.c: Don't assume "." and ".." are the first files returned from readdir(). Thanks to Andreas Happe for spotting this. * src/noffle.c: Update online help to include 'm' group posting status. * src/server.c: Move incorrect updating of server.grp in doGrp() which was causing doGrp() to not retrieve remote article details when in online mode. Thanks to Miernik and Andreas Happe for reporting the problem.
author bears
date Thu, 22 May 2003 10:04:38 +0100
parents a23b37308063
children 6b4d9c2087f0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
360
a23b37308063 [svn] || true cleanup
godisch
parents: 330
diff changeset
2 # $Id: prerm 499 2003-03-29 06:57:20Z godisch $
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 set -e
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
5 . /usr/share/debconf/confmodule
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
6 db_version 2.0
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
7
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
8 if [ -x /usr/sbin/invoke-rc.d ]; then
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
9 invoke-rc.d noffle stop
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
10 elif [ -x /etc/init.d/noffle ]; then
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
11 /etc/init.d/noffle stop
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
12 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
13
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
14 if [ -e /usr/share/debconf/confmodule ]; then
360
a23b37308063 [svn] || true cleanup
godisch
parents: 330
diff changeset
15 db_get noffle/port
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
16 port="$RET"
330
56c3a43af1d5 [svn] small bugfixes
godisch
parents: 325
diff changeset
17 [ -z "$port" -o "$port" = 119 ] && port=nntp || :
312
85bf9f705e70 [svn] minor code cleanup
godisch
parents: 301
diff changeset
18 update-inetd --disable $port
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
19 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
20
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
21 db_stop
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
22 exit 0