Tizen 2.0 Release
[external/epson-laser-printer-escpage.git] / debian / postinst
1 #!/bin/sh
2 # postinst -- postinst script for epson-inkjet-printer-escpage
3 # see: dh_installdeb(1)
4 #
5 # Epson Inkjet Printer Driver (ESC/Page) 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 #        * <postinst> `configure' <most-recently-configured-version>
25 #        * <old-postinst> `abort-upgrade' <new version>
26 #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
27 #          <new-version>
28 #        * <postinst> `abort-remove'
29 #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
30 #          <failed-install-package> <version> `removing'
31 #          <conflicting-package> <version>
32 # for details, see http://www.debian.org/doc/debian-policy/ or
33 # the debian-policy package
34
35
36 case "$1" in
37     configure)
38         ldconfig
39     ;;
40
41     abort-upgrade|abort-remove|abort-deconfigure)
42     ;;
43
44     *)
45         echo "postinst called with unknown argument \`$1'" >&2
46         exit 1
47     ;;
48 esac
49
50 # dh_installdeb will replace this with shell code automatically
51 # generated by other debhelper scripts.
52
53 #DEBHELPER#
54
55 exit 0
56
57