summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:42 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:42 +0900
commit31dd8ff9600b5388cecb71d3b3f39be046b0fa3c (patch)
treec32ad99e056611427c0fa239cefd21a4e0d67c3c /debian/postrm
parenta15ab532dc3f3eaf44b06a5426e2f42d17999f95 (diff)
downloadepson-laser-printer-escpage-tizen_2.0.tar.gz
epson-laser-printer-escpage-tizen_2.0.tar.bz2
epson-laser-printer-escpage-tizen_2.0.zip
Diffstat (limited to 'debian/postrm')
-rwxr-xr-xdebian/postrm53
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100755
index 0000000..f31c575
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,53 @@
+#!/bin/sh
+# postrm -- postrm script for epson-inkjet-printer-escpr
+# see: dh_installdeb(1)
+#
+# Epson Inkjet Printer Driver (ESC/Page) for Linux
+# Copyright (C) Seiko Epson Corporation 2011.
+# 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:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ldconfig
+ ;;
+
+ *)
+ echo "postrm 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