projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r5562,
[freeside.git]
/
FS
/
FS
/
part_export
/
www_shellcommands.pm
diff --git
a/FS/FS/part_export/www_shellcommands.pm
b/FS/FS/part_export/www_shellcommands.pm
index
0e50d60
..
988d970
100644
(file)
--- a/
FS/FS/part_export/www_shellcommands.pm
+++ b/
FS/FS/part_export/www_shellcommands.pm
@@
-57,6
+57,7
@@
The following variables are available for interpolation (prefixed with
<LI><code>$bare_zone</code> - just the zone of this virtual host, without the domain portion
<LI><code>$domain</code> - base domain
<LI><code>$username</code>
<LI><code>$bare_zone</code> - just the zone of this virtual host, without the domain portion
<LI><code>$domain</code> - base domain
<LI><code>$username</code>
+ <LI><code>$_password</code>
<LI><code>$homedir</code>
<LI>All other fields in <a href="../docs/schema.html#svc_www">svc_www</a>
are also available.
<LI><code>$homedir</code>
<LI>All other fields in <a href="../docs/schema.html#svc_www">svc_www</a>
are also available.
@@
-80,6
+81,7
@@
sub _export_delete {
sub _export_command {
my ( $self, $action, $svc_www) = (shift, shift, shift);
my $command = $self->option($action);
sub _export_command {
my ( $self, $action, $svc_www) = (shift, shift, shift);
my $command = $self->option($action);
+ return '' if $command =~ /^\s*$/;
#set variable for the command
no strict 'vars';
#set variable for the command
no strict 'vars';