| 1 | #!/usr/local/bin/perl | ||
| 2 | # PODNAME: tapper-installer-client | ||
| 3 | # ABSTRACT: cmdline frontend to Installer | ||
| 4 | |||
| 5 | use warnings; | ||
| 6 | use strict; | ||
| 7 | use Log::Log4perl; | ||
| 8 | use Tapper::Installer::Base; | ||
| 9 | use Tapper::Config; | ||
| 10 | |||
| 11 | BEGIN { | ||
| 12 | Tapper::Config::_switch_context; # reload config | ||
| 13 | my $l4p_cfg = Tapper::Config->subconfig->{files}{log4perl_cfg}; | ||
| 14 | Log::Log4perl::init($l4p_cfg); | ||
| 15 | } | ||
| 16 | |||
| 17 | |||
| 18 | my $client = Tapper::Installer::Base->new(); | ||
| 19 | $client->system_install(""); | ||
| 20 | |||
| 21 | __END__ |