Add packaging/epson-inkjet-printer-escpr.changes file
[platform/upstream/epson-inkjet-printer-escpr.git] / debian / postrm
1 #!/bin/sh
2 # postrm -- postrm script for epson-inkjet-printer-escpr
3 # see: dh_installdeb(1)
4 #
5 # Epson Inkjet Printer Driver (ESC/P-R) for Linux
6 # Copyright (C) Seiko Epson Corporation 2012.
7 #  This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA.
20
21 set -e
22
23 # summary of how this script can be called:
24 #        * <postrm> `remove'
25 #        * <postrm> `purge'
26 #        * <old-postrm> `upgrade' <new-version>
27 #        * <new-postrm> `failed-upgrade' <old-version>
28 #        * <new-postrm> `abort-install'
29 #        * <new-postrm> `abort-install' <old-version>
30 #        * <new-postrm> `abort-upgrade' <old-version>
31 #        * <disappearer's-postrm> `disappear' <overwriter>
32 #          <overwriter-version>
33 # for details, see http://www.debian.org/doc/debian-policy/ or
34 # the debian-policy package
35
36
37 case "$1" in
38     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
39         ldconfig
40     ;;
41
42     *)
43         echo "postrm called with unknown argument \`$1'" >&2
44         exit 1
45     ;;
46 esac
47
48 # dh_installdeb will replace this with shell code automatically
49 # generated by other debhelper scripts.
50
51 #DEBHELPER#
52
53 exit 0