diff options
author | KatolaZ <katolaz@freaknet.org> | 2016-12-31 00:07:11 +0000 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2016-12-31 00:07:11 +0000 |
commit | 630e1b870fc38f4f11f5d6ff5bb61f3bb735c577 (patch) | |
tree | 5747fd131b78bed8ac118ae222e1006f12b28404 /debian_package/setnet-0.1/debian/preinst.ex | |
parent | 065cb9451717a986545c7edd9180eed1187c6b22 (diff) |
debian-package
Diffstat (limited to 'debian_package/setnet-0.1/debian/preinst.ex')
-rw-r--r-- | debian_package/setnet-0.1/debian/preinst.ex | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian_package/setnet-0.1/debian/preinst.ex b/debian_package/setnet-0.1/debian/preinst.ex new file mode 100644 index 0000000..09a88b6 --- /dev/null +++ b/debian_package/setnet-0.1/debian/preinst.ex @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for setnet +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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 |