|
Revision 26442, 511 bytes
(checked in by unau, 5 years ago)
|
|
imported site data for mato.me and it's subdomains.
|
| Rev | Line | |
|---|
| [26442] | 1 | #!/usr/bin/perl |
|---|
| 2 | BEGIN { |
|---|
| 3 | unshift(@INC, '/home/gorbachev/lib'); |
|---|
| 4 | } |
|---|
| 5 | use Avelio::SympleRuleStorage qw(/home/gorbachev/rules); |
|---|
| 6 | |
|---|
| 7 | my ($action, $prefix) = @ARGV; |
|---|
| 8 | my $storage = new Avelio::SympleRuleStorage($prefix); |
|---|
| 9 | |
|---|
| 10 | if ( $action eq 'show') { $storage->showRules(); } |
|---|
| 11 | elsif ($action eq 'update') { $storage->updateRulesWithSTDIN(); } |
|---|
| 12 | elsif ($action eq 'test') { } |
|---|
| 13 | else { exit; } |
|---|
| 14 | |
|---|
| 15 | # end of file |
|---|