From 57620b2099fbec0076f965b919a53e240c0eb7bf Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 6 Feb 2004 17:14:41 +0000 Subject: allow providing urpmi parameters in a .urpm-rpmi file so that we can then provide one-click local or remote installation from web --- urpmi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/urpmi b/urpmi index c83a4173..ff53cee5 100755 --- a/urpmi +++ b/urpmi @@ -21,6 +21,7 @@ #use strict qw(subs vars refs); use strict; use urpm; +use MDK::Common; #- contains informations to parse installed system. my $urpm = new urpm; @@ -234,6 +235,10 @@ while (defined($_ = shift @argv)) { } next; } + if (/\.urpm-rpmi$/) { + push @argv, split /\n/, cat_($_); + next; + } if ($src) { push @src_names, $_; } else { -- cgit v1.2.1