if [ "$UPDATE" = "no" -a "$ACTION" = "pre" ]; then
	# If we're removing sane-epkowa together with this package,
	# there's no point (and no success) in calling iscan-registry
	command -v iscan-registry >/dev/null 2>&1 || exit 0
	for id in 0x013c 0x013d; do
		iscan-registry --remove interpreter usb 0x04b8 $id \
					   /usr/lib/iscan/libiscan-plugin-gt-s650 /usr/share/iscan/esfw010c.bin
	done
fi
