#!/bin/sh if [ "$1" != "upgrade" ]; then grep root=/usr/share/usermin /etc/usermin/miniserv.conf >/dev/null 2>&1 if [ "$?" = 0 ]; then # Package is being removed, and no new version of webmin # has taken it's place. Delete the config files rm -rf /etc/usermin /var/usermin fi fi