summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm13
1 files changed, 13 insertions, 0 deletions
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;