1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
#!/bin/sh
#
# This is the postinst script for the Debian GNU/Linux efax package
#
# Written by Dirk Eddelbuettel <edd@debian.org>
# No longer needed and therefore not installed
# efax_upgrade()
# {
# # Deal with old /usr/bin/fax files that could contain local information
# # This is only relevant for folks that upgrade from efax-07a-{0,1}
# #
# # We here extract information from the old fax script,
# # postinst will analyze that information
# FAX=/usr/bin/fax
# OUTPUT=/tmp/old.fax
# if [ -f $FAX ]
# then
# sed -n -e '/^[\ \t]*[A-Z][A-Z]*\=/p' \
# -e '/^# --- End/q' $FAX > $OUTPUT
# fi
# }
set -e
case "$1" in
install|upgrade)
# if [ "$2" = "07a-0" -o "$2" = "07a-1" ]
# then
# efax_upgrade
# fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
|