#!/bin/sh
set -e

CONFFILE=/etc/modutils/modconf

if [ "$1" = "purge" -a -e $CONFFILE ]; then
	rm -f $CONFFILE
    	update-modules || true
fi
