summaryrefslogtreecommitdiff
path: root/debian/JB-jre-headless.postrm.in
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-05-12 22:48:36 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-05-12 22:48:36 +0300
commit37d630875d33bf3c291026c40bb08d1b6c9edcc8 (patch)
tree68fb026f54a962cf1d631f010e98681add6ed014 /debian/JB-jre-headless.postrm.in
downloadopenjdk-8-37d630875d33bf3c291026c40bb08d1b6c9edcc8.tar.gz
Imported debian/openjdk-8_8u131-b11-1debian/8u131-b11-1debian
Diffstat (limited to 'debian/JB-jre-headless.postrm.in')
-rw-r--r--debian/JB-jre-headless.postrm.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/JB-jre-headless.postrm.in b/debian/JB-jre-headless.postrm.in
new file mode 100644
index 0000000..5c8811f
--- /dev/null
+++ b/debian/JB-jre-headless.postrm.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+multiarch=@multiarch@
+jdirname=@jdirname@
+etcdir=/@etcdir@
+
+case "$1" in
+purge)
+ if [ -z "$jdirname" ] || [ -z "$etcdir" ]; then
+ echo >&2 "$(basename $0): Internal error"
+ exit 1
+ fi
+ # removals of config files in /etc is handled by dpkg
+
+ # XXX should remove /etc/.java ???
+ ;;
+esac
+
+#DEBHELPER#