1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/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:
|