#!/bin/sh
# post remove script for the Debian GNU/Linux modutils package

set -e

if [ "$1" = "purge" ]; then
	rm -f /etc/modules.conf /etc/modules.conf.old
	# this file is used by module-init-tools too
	if [ ! -d /etc/modprobe.d ]; then
		rm -f /etc/modules
	fi
fi

exit 0

