~ubuntu-branches/ubuntu/lucid/inspircd/lucid-security

« back to all changes in this revision

Viewing changes to debian/inspircd.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Giacomo Catenazzi, Darren Blaber, Matt Arnold, Giacomo Catenazzi
  • Date: 2008-03-06 07:56:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080306075647-z8a4phxkn3vo3ajx
Tags: 1.1.17+dfsg-1
[ Darren Blaber ]
* New upstream release, fix /etc/init.d/inspircd stop.
* Fix the postrm script so there is no duplicate update-rc.d
* Fix the manpage so there are no more errors in it

[ Matt Arnold ]
*  Fix prerm so it works (Closes: #466924)

[ Giacomo Catenazzi ]
* Added me as uploader
* Add again support of dpatch in debian/rules
* Build sources only once!
* Correct make clean target, not to include generated ./inspircd on sources
* Don't change permission of configuration files, when starting inspircd
  (separation of policy and program).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
 
5
# summary of how this script can be called:
 
6
#        * <postrm> `remove'
 
7
#        * <postrm> `purge'
 
8
#        * <old-postrm> `upgrade' <new-version>
 
9
#        * <new-postrm> `failed-upgrade' <old-version>
 
10
#        * <new-postrm> `abort-install'
 
11
#        * <new-postrm> `abort-install' <old-version>
 
12
#        * <new-postrm> `abort-upgrade' <old-version>
 
13
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
 
14
# for details, see http://www.debian.org/doc/debian-policy/ or
 
15
# the debian-policy package
 
16
 
5
17
case "$1" in
6
 
        purge)
7
 
                rm -rf /etc/inspircd
8
 
        ;;
9
 
 
 
18
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade)
 
19
       ;;
 
20
    purge|disappear)
 
21
       rm -rf /etc/inspircd
 
22
       ;;
 
23
    *)
 
24
       echo "postrm called with unknown argument \`$1'" >&2
 
25
       exit 1
10
26
esac
11
27
 
12
28
#DEBHELPER#