1 | Index: portstartupitem.tcl |
---|
2 | =================================================================== |
---|
3 | --- portstartupitem.tcl (revision 28131) |
---|
4 | +++ portstartupitem.tcl (working copy) |
---|
5 | @@ -626,12 +626,17 @@ |
---|
6 | } |
---|
7 | } |
---|
8 | |
---|
9 | - ui_msg "$UI_PREFIX [msgcat::mc "Creating ${startupitem.type} control script"]" |
---|
10 | + if { ${startupitem.type} == "none" } { |
---|
11 | + ui_msg "$UI_PREFIX [msgcat::mc "Skipping creation of control script"]" |
---|
12 | + } else { |
---|
13 | |
---|
14 | - switch -- ${startupitem.type} { |
---|
15 | - launchd { startupitem_create_darwin_launchd } |
---|
16 | - systemstarter { startupitem_create_darwin_systemstarter } |
---|
17 | - rcng { startupitem_create_rcng } |
---|
18 | - default { ui_error "$UI_PREFIX [msgcat::mc "Unrecognized startupitem type %s" ${startupitem.type}]" } |
---|
19 | - } |
---|
20 | + ui_msg "$UI_PREFIX [msgcat::mc "Creating ${startupitem.type} control script"]" |
---|
21 | + |
---|
22 | + switch -- ${startupitem.type} { |
---|
23 | + launchd { startupitem_create_darwin_launchd } |
---|
24 | + systemstarter { startupitem_create_darwin_systemstarter } |
---|
25 | + rcng { startupitem_create_rcng } |
---|
26 | + default { ui_error "$UI_PREFIX [msgcat::mc "Unrecognized startupitem type %s" ${startupitem.type}]" } |
---|
27 | + } |
---|
28 | + } |
---|
29 | } |
---|