diff options
author | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2016-02-04 19:14:39 -0800 |
---|---|---|
committer | Magnus Feuer <mfeuer@jaguarlandrover.com> | 2016-02-04 19:14:39 -0800 |
commit | a7f3bc345c3616793163bb284d226f783fb88db9 (patch) | |
tree | 2e187da52d7a2bcee88f62dd46ea37e993625878 /debian_template/rvi.postrm | |
parent | 7c49e09cdae54d1de23bc0aaa19f94e60b93b95b (diff) | |
parent | 52e8b1a77a8c19b1fba5b3f9a344e6f90f30e993 (diff) | |
download | rvi_core-a7f3bc345c3616793163bb284d226f783fb88db9.tar.gz |
Merge branch 'mfeuer-0.5.0_ubuntu_build' of github.com:magnusfeuer/rvi_core into mfeuer-0.5.0_ubuntu_build
Diffstat (limited to 'debian_template/rvi.postrm')
-rw-r--r-- | debian_template/rvi.postrm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debian_template/rvi.postrm b/debian_template/rvi.postrm new file mode 100644 index 0000000..0ded6f8 --- /dev/null +++ b/debian_template/rvi.postrm @@ -0,0 +1,41 @@ +#!/bin/sh +# postrm script for rvi +# +# see: dh_installdeb(1) + +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 + +# source debconf library +. /usr/share/debconf/confmodule + +case "$1" in + + remove|purge|upgrde|disappear) + rm -f /etc/init.d/rvi + update-rc.d rvi remove + ;; + + *) + exit 0 + ;; + + +esac + +#DEBHELPER# + +db_stop + +exit 0 |