#!/bin/sh -e

# Source debconf library
. /usr/share/debconf/confmodule

if [ "$1" = "configure" -a "$2" != "" ]; then
	if dpkg --compare-versions "$2" ge "0.6.0-0"; then
		db_input low ifupdown/convert-interfaces || true
		db_go
	fi
fi
