Change the sub name for the install script.
This commit is contained in:
parent
4b2d943e87
commit
8bcacc8316
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ pod2usage( msg => "Must specify a config file!" ) unless $configFile;
|
|||
|
||||
my $session = start( $webguiRoot, $configFile );
|
||||
|
||||
installFilePumpHandler($session);
|
||||
installUPSDriver($session);
|
||||
|
||||
# Do your work here
|
||||
finish($session);
|
||||
|
|
@ -43,7 +43,7 @@ finish($session);
|
|||
# Your sub here
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub installFilePumpHandler {
|
||||
sub installUPSDriver
|
||||
my $session = shift;
|
||||
print "\tAdding UPS Shipping Driver... \n" unless $quiet;
|
||||
$session->config->addToArray('shippingDrivers', 'WebGUI::Shop::ShipDriver::UPS');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue