From 1883acd25096f34779cce40ebba76c5860964f0d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 10 Jan 2001 00:33:11 +0000 Subject: use standalone and standalone::pkgs_install --- perl-install/standalone.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 perl-install/standalone.pm (limited to 'perl-install/standalone.pm') diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm new file mode 100644 index 000000000..c1893fe99 --- /dev/null +++ b/perl-install/standalone.pm @@ -0,0 +1,13 @@ +package standalone; # $Id$ + +$::isStandalone = 1; + + +sub pkgs_install { + my ($in, @l) = @_; + $in->suspend; + system('urpmi --auto --best-output ' . join(' ', @l)); + $in->resume; +} + +1; -- cgit v1.2.1