diff options
Diffstat (limited to 'debian/JB-jre-headless.postrm.in')
-rw-r--r-- | debian/JB-jre-headless.postrm.in | 21 |
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# |