diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 17:14:41 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 17:14:41 +0000 |
commit | 57620b2099fbec0076f965b919a53e240c0eb7bf (patch) | |
tree | 92d1530c0ad1872ea62e4248506843586dfbc854 | |
parent | 78f08d2a608ef492767231aefd1be5cd120ab5ee (diff) | |
download | urpmi-57620b2099fbec0076f965b919a53e240c0eb7bf.tar urpmi-57620b2099fbec0076f965b919a53e240c0eb7bf.tar.gz urpmi-57620b2099fbec0076f965b919a53e240c0eb7bf.tar.bz2 urpmi-57620b2099fbec0076f965b919a53e240c0eb7bf.tar.xz urpmi-57620b2099fbec0076f965b919a53e240c0eb7bf.zip |
allow providing urpmi parameters in a .urpm-rpmi file so that we can then provide one-click local or remote installation from web
-rwxr-xr-x | urpmi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 { |