diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 06:41:59 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2006-05-22 06:41:59 +0000 |
commit | c6d4f7459c3436c6e629a6b1fcd7f73bcaeca790 (patch) | |
tree | ceeffc0a0897427a5c42733da1d9d46992f303f7 /debian/strongswan.prerm | |
parent | 4769e2f961d2930ffcc6cfa5b1561548e4ea552c (diff) | |
download | vyos-strongswan-c6d4f7459c3436c6e629a6b1fcd7f73bcaeca790.tar.gz vyos-strongswan-c6d4f7459c3436c6e629a6b1fcd7f73bcaeca790.zip |
- s/openswan/strongswan/g
- s/Openswan/strongSwan/g
But basically manually. Is certainly incomplete right now.
Diffstat (limited to 'debian/strongswan.prerm')
-rw-r--r-- | debian/strongswan.prerm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/strongswan.prerm b/debian/strongswan.prerm new file mode 100644 index 000000000..de804d5cb --- /dev/null +++ b/debian/strongswan.prerm @@ -0,0 +1,40 @@ +#! /bin/sh +# prerm script for openswan +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <prerm> `remove' +# * <old-prerm> `upgrade' <new-version> +# * <new-prerm> `failed-upgrade' <old-version> +# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> +# * <deconfigured's-prerm> `deconfigure' `in-favour' +# <package-being-installed> <version> `removing' +# <conflicting-package> <version> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + upgrade) + ;; + remove|deconfigure) + /etc/init.d/ipsec stop || true +# install-info --quiet --remove /usr/info/openswan.info.gz + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + |