diff options
author | Taeksu Shin <taeksu.shin@samsung.com> | 2012-08-21 18:39:39 +0900 |
---|---|---|
committer | Taeksu Shin <taeksu.shin@samsung.com> | 2012-08-21 18:39:39 +0900 |
commit | 2742d6ca5da37180225fab6ef8bf55467956d25c (patch) | |
tree | c850c3679b282551927505d3162e6c60118d0609 /debian/postinst | |
parent | b5dc236b1575fe5846d01881893b3aaef43ecbcc (diff) | |
download | epson-inkjet-printer-escpr-master.tar.gz epson-inkjet-printer-escpr-master.tar.bz2 epson-inkjet-printer-escpr-master.zip |
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..45e8505 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,57 @@ +#!/bin/sh +# postinst -- postinst script for epson-inkjet-printer-escpr +# see: dh_installdeb(1) +# +# Epson Inkjet Printer Driver (ESC/P-R) for Linux +# Copyright (C) Seiko Epson Corporation 2012. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA. + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ldconfig + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + |