#!/bin/sh set -e if [ ! -z "$2" ];then # make sure we know which version we're upgrading from # in postinst we don't have that info anymore echo "Upgrade from $2 detected." # store away so we can put it into debconf at postinst time [ -d /usr/share/fex/ ]||mkdir -p /usr/share/fex/ echo "$2" >/usr/share/fex/.lastver fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 # vi: set smartindent ts=4 sw=4 expandtab autoindent sts=4: