#!/bin/sh if [ ! -r /etc/usermin/config -o ! -d /usr/share/usermin ]; then echo "Usermin does not appear to be installed on your system." echo "This package cannot be installed unless the Debian version of Usermin" echo "is installed first." exit 1 fi if [ "" != "" -a "" != 1 ]; then # Check if depended webmin/usermin modules are installed for d in ; do if [ ! -r /usr/share/usermin/$d/module.info ]; then echo "This Usermin module depends on the module $d, which is" echo "not installed on your system." exit 1 fi done fi # Check if this module is already installed if [ -d /usr/share/usermin/virtual-server-theme -a "$1" != "upgrade" -a "$allow_overwrite" != "1" ]; then echo "This Usermin module is already installed on your system." exit 1 fi