aboutsummaryrefslogtreecommitdiffstats
path: root/mgaadv
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-13 12:44:38 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-13 12:44:38 +0000
commitf1b8824ce8bac223c86cf6040ad7b26b49fe6c3a (patch)
tree9c9a731b35d5c970a32ceb44cba6bd6e6d66bf5a /mgaadv
parent1cc3f8bf67e1df809a85f3b3e803e6f24820ef91 (diff)
downloadmgaadvisories-f1b8824ce8bac223c86cf6040ad7b26b49fe6c3a.tar
mgaadvisories-f1b8824ce8bac223c86cf6040ad7b26b49fe6c3a.tar.gz
mgaadvisories-f1b8824ce8bac223c86cf6040ad7b26b49fe6c3a.tar.bz2
mgaadvisories-f1b8824ce8bac223c86cf6040ad7b26b49fe6c3a.tar.xz
mgaadvisories-f1b8824ce8bac223c86cf6040ad7b26b49fe6c3a.zip
Rename mkadvisories to mgaadv
Diffstat (limited to 'mgaadv')
-rwxr-xr-xmgaadv14
1 files changed, 14 insertions, 0 deletions
diff --git a/mgaadv b/mgaadv
new file mode 100755
index 0000000..7e3ec41
--- /dev/null
+++ b/mgaadv
@@ -0,0 +1,14 @@
+#!/usr/bin/perl -w
+
+use strict;
+use MGA::Advisories;
+
+my %advdb;
+$advdb{advisories} = MGA::Advisories::get_advisories();
+MGA::Advisories::publish_advisories(\%advdb);
+MGA::Advisories::sort_advisories(\%advdb);
+MGA::Advisories::output_pages(\%advdb);
+MGA::Advisories::dumpdb(\%advdb);
+MGA::Advisories::send_adv_mail(\%advdb);
+MGA::Advisories::send_report_mail(\%advdb);
+