diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-10-09 13:33:56 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-10-09 13:33:56 +0000 |
commit | 8bc2b128b7a940ddf0ec13ea01059c9f99bb7dce (patch) | |
tree | ec0444bfff677047515be42a5bae41100ce7ecd6 /ddhardrescue-1.0/debian/postinst.ex | |
parent | 76cc335de023f8f66712de2bbff60ce84a9071a8 (diff) | |
download | 2011-ddhardrescue-8bc2b128b7a940ddf0ec13ea01059c9f99bb7dce.tar.gz 2011-ddhardrescue-8bc2b128b7a940ddf0ec13ea01059c9f99bb7dce.tar.bz2 2011-ddhardrescue-8bc2b128b7a940ddf0ec13ea01059c9f99bb7dce.zip |
Execution de dh_make pour avoir une structure de base pour le paquet debian.
Découverte de myrescue qui fait la même chose (sans IHM et sans dichotomie, mais sauts exponentiels)
git-svn-id: file:///var/svn/2011-ddhardrescue/branches/1.x@30 d3078510-dda0-49f1-841c-895ef4b7ec81
Diffstat (limited to 'ddhardrescue-1.0/debian/postinst.ex')
-rw-r--r-- | ddhardrescue-1.0/debian/postinst.ex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ddhardrescue-1.0/debian/postinst.ex b/ddhardrescue-1.0/debian/postinst.ex new file mode 100644 index 0000000..08400f6 --- /dev/null +++ b/ddhardrescue-1.0/debian/postinst.ex @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for ddhardrescue +# +# 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 + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst 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 |