#! /bin/sh # preinst script for uim # # see: dh_installdeb(1) set -e case "$1" in upgrade) if which uim-module-manager >/dev/null 2>&1; then if dpkg --compare-versions "$2" lt-nl "1:1.8.8-3.1" && \ dpkg --compare-versions "$2" gt "1:1.8.6+gh20161003.0.d63dadd-3~exp1"; then cat <&2 exit 1 ;; esac # Automatically added by dh_installdeb/13.11.4 dpkg-maintscript-helper mv_conffile /etc/uim/installed-modules.scm /var/lib/uim/installed-modules.scm 1:1.8.1-3\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/uim/loader.scm /var/lib/uim/loader.scm 1:1.8.1-3\~ -- "$@" # End automatically added section exit 0