Modified: trunk/base/src/port1.0/portlint.tcl (89582 => 89583)
--- trunk/base/src/port1.0/portlint.tcl 2012-02-03 16:28:59 UTC (rev 89582)
+++ trunk/base/src/port1.0/portlint.tcl 2012-02-03 16:30:00 UTC (rev 89583)
@@ -250,6 +250,11 @@
}
}
+ if {[string match "*addgroup*" $line] || [string match "*adduser*" $line]} {
+ ui_warn "Line $lineno should use add_users"
+ incr warnings
+ }
+
if {[regexp {(^|\s)configure\s+\{\s*\}} $line]} {
ui_warn "Line $lineno should say \"use_configure no\" instead of declaring an empty configure phase"
incr warnings