On Fri, Sep 28, 2012 at 08:54:30AM +0900, Kenshi Muto wrote:
> mlterm is mostly maintained by Ahmed.
> Ahmed, could you tell me what you think about?
---end quoted text---

  Well, it is the same fix that was done in 3.1.2-1.1 for mlterm & 
  mlterm.tiny

  Yet I think it is better to do the fix in .preinst instead of 
  .postinst as the file attached.

  Note that I didn't test that fix yet.

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
#!/bin/sh
set -e

case "$1" in
    install|upgrade)
        if dpkg --compare-versions "$2" lt "3.0.9" ; then
          rmdir /usr/share/doc/mlterm
        fi
    ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to