diff options
author | kristina <k@wooster.(none)> | 2009-05-27 10:06:07 -0400 |
---|---|---|
committer | kristina <k@wooster.(none)> | 2009-05-27 10:06:07 -0400 |
commit | edee72dc444aa54c65e72bb8bd96f8864b8179c1 (patch) | |
tree | f8e86a43ab98d880803024ff9be61eb7676c9868 /debian/preinst | |
parent | b8c6d85506d04c3b9d9b804fcf6d1e763b55f963 (diff) | |
download | mongo-edee72dc444aa54c65e72bb8bd96f8864b8179c1.tar.gz |
debian build
Diffstat (limited to 'debian/preinst')
-rw-r--r-- | debian/preinst | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 00000000000..c2d53620d5d --- /dev/null +++ b/debian/preinst @@ -0,0 +1,37 @@ +#!/bin/sh +# preinst script for mongodb +# +# 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 http://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 + + |