annotate debian/postrm @ 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 c36eb2596531
children 794030e45053
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
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
2 # $Id: postrm 460 2003-02-23 15:16:46Z 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
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
8 server_config=/etc/news/noffle.conf
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
9 debian_config=/etc/default/noffle
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
10
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
11 if [ "$1" = remove -o "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
12 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc
314
e4687dc19520 [svn] added removal of /var/lock/noffle on remove
godisch
parents: 313
diff changeset
13 rm -rf /var/lock/noffle
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
14 fi
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
15
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
16 if [ "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
17 update-inetd --remove "/usr/bin/noffle -r"
317
eef64bccd0e2 [svn] last updates for 1.1.4-2
godisch
parents: 314
diff changeset
18 update-rc.d noffle remove > /dev/null
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
19 rm -f /etc/noffle.conf /etc/noffle.conf.old \
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
20 $server_config $server_config.old \
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
21 $debian_config $debian_config.old
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
22 rm -rf /etc/noffle /var/spool/noffle
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
23 db_purge
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
24 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
25
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
26 db_stop
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
27 exit 0