freebsd-ports/sysutils/webmin/pkg-plist
Jimmy Olgeni bb1e1d09c6 Update port to version 0.86, add better handling of BATCH in "make install"
and pkg_add, don't let setup.sh start the service. The setup script is now
automatically called when not installing in batch mode.

Also, "borrow" better pkg-plist implementation from the vim5 port: it
allows to have @execs at the end of pkg-plist (thanks to O'Brien :-))
2001-06-06 11:48:57 +00:00

8 lines
423 B
Text

etc/rc.d/webmin.sh
@comment Insert PLIST.lib-webmin here
@comment -=[ begin PLIST.lib-webmin ]=-
@comment -=[ end PLIST.lib-webmin ]=-
@comment upgrade configuration if etc/webmin exists
@exec [ ! -d %D/etc/webmin ] || echo | nostart=Y %D/lib/webmin/setup.sh
@comment run interactive setup if not in BATCH mode and no configuration exists
@exec [ -n "$BATCH" ] || ([ -d %D/etc/webmin ] || nostart=Y %D/lib/webmin/setup.sh)