From b53e28d5eeed784952d2033a3772057b536812bc Mon Sep 17 00:00:00 2001 From: Matteo Pasotti Date: Sun, 20 Mar 2016 23:28:08 +0100 Subject: urpm-downloader (from urpmex) has been ported to manatools --- scripts/urpm-downloader | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 scripts/urpm-downloader (limited to 'scripts/urpm-downloader') 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 . +use Modern::Perl '2011'; +use autodie; +use ManaTools::Module::PkgDownloader; + +my $pkgdlManager = ManaTools::Module::PkgDownloader->new_with_options(); +$pkgdlManager->start(); + +1; -- cgit v1.2.1