aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/urpm-downloader
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/urpm-downloader')
-rwxr-xr-xscripts/urpm-downloader27
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/urpm-downloader b/scripts/urpm-downloader
new file mode 100755
index 00000000..6497554c
--- /dev/null
+++ b/scripts/urpm-downloader
@@ -0,0 +1,27 @@
+#!/usr/bin/perl
+# vim: set et ts=4 sw=4:
+# Copyright 2013-2016 Matteo Pasotti
+# 2015-2016 Angelo Naselli
+#
+# This file is part of manatools
+#
+# manaproxy is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# manaproxy is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with ManaTools. If not, see <http://www.gnu.org/licenses/>.
+use Modern::Perl '2011';
+use autodie;
+use ManaTools::Module::PkgDownloader;
+
+my $pkgdlManager = ManaTools::Module::PkgDownloader->new_with_options();
+$pkgdlManager->start();
+
+1;