aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/urpm-downloader
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo.pasotti@gmail.com>2016-03-20 23:28:08 +0100
committerMatteo Pasotti <matteo.pasotti@gmail.com>2016-03-20 23:28:08 +0100
commitb53e28d5eeed784952d2033a3772057b536812bc (patch)
tree35959881a949fe09badb873e38ed652ed1a72948 /scripts/urpm-downloader
parent92577c33435b5e98be14ff6f08db784aaf5d1bfa (diff)
downloadmanatools-b53e28d5eeed784952d2033a3772057b536812bc.tar
manatools-b53e28d5eeed784952d2033a3772057b536812bc.tar.gz
manatools-b53e28d5eeed784952d2033a3772057b536812bc.tar.bz2
manatools-b53e28d5eeed784952d2033a3772057b536812bc.tar.xz
manatools-b53e28d5eeed784952d2033a3772057b536812bc.zip
urpm-downloader (from urpmex) has been ported to manatools
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;