Mercurial > libpst
view debian/preinst.ex @ 85:582e927756d3 stable-0-6-15
Patch from Robert Simpson for file handle leak in error case.
Fix for missing length on lz decompression, bug found by Chris White.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2008 22:01:52 -0700 |
parents | 535075b4d261 |
children |
line wrap: on
line source
#!/bin/sh # preinst script for libpst # # 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