summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
blob: 382af16514eeeeb14e5ba82b9ea04acb32ca7115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package standalone; # $Id$

$::isStandalone = 1;

$ENV{SHARE_PATH} ||= "/usr/share";


sub pkgs_install {
    my ($in, @l) = @_;
    $in->suspend;
    system('urpmi --auto --best-output ' . join(' ', @l));
    $in->resume;
}

1;