diff options
| author | thlo <smarttv640@gmail.com> | 2014-04-25 16:57:31 +0200 |
|---|---|---|
| committer | thlo <smarttv640@gmail.com> | 2014-04-25 16:57:31 +0200 |
| commit | c35351510ccd0e99ac6cc8a0bb9384d24acc5571 (patch) | |
| tree | c0c780190a25b137bdb2f1bc3af9cf596f5bc1e4 /debian/postrm | |
| parent | a02ff029d7dc91822c835b1ab9cdc42434a8caff (diff) | |
| download | vdr-plugin-smarttvweb-c35351510ccd0e99ac6cc8a0bb9384d24acc5571.tar.gz vdr-plugin-smarttvweb-c35351510ccd0e99ac6cc8a0bb9384d24acc5571.tar.bz2 | |
Debianize Plugin.
Diffstat (limited to 'debian/postrm')
| -rw-r--r-- | debian/postrm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..4eaabc1 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,43 @@ +#!/bin/sh +# postrm script for vdr-plugin-smarttvweb +# +# see: dh_installdeb(1) + +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|abort-install|disappear) + # Remove log directory created in postinst + rm -rf /var/log/smarttvweb + + ;; + + remove|upgrade|failed-upgrade|abort-upgrade) + ;; + + *) + 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 |
