summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-02-26 18:11:41 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-02-26 18:11:41 +0000
commitb65c42273a1b729965a1417c952d2c3a6615c47f (patch)
tree06db73c1a49ef4746fe951c7470e8582bedaac23 /perl-install/standalone
parentc20aa848515dd24f47263bcf086696fab6945d09 (diff)
downloaddrakx-b65c42273a1b729965a1417c952d2c3a6615c47f.tar
drakx-b65c42273a1b729965a1417c952d2c3a6615c47f.tar.gz
drakx-b65c42273a1b729965a1417c952d2c3a6615c47f.tar.bz2
drakx-b65c42273a1b729965a1417c952d2c3a6615c47f.tar.xz
drakx-b65c42273a1b729965a1417c952d2c3a6615c47f.zip
drakdvb: use do_pkgs directly
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakdvb3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakdvb b/perl-install/standalone/drakdvb
index 448f82c9e..bd1b8dcaa 100755
--- a/perl-install/standalone/drakdvb
+++ b/perl-install/standalone/drakdvb
@@ -60,6 +60,8 @@ sub detect_channels() {
$channel_list->set_sensitive(0);
$_->set_sensitive(0) foreach values %buttons;
+ $in->do_pkgs->install('w_scan');
+
gtkflush();
$SIG{CHLD} = sub {
@@ -87,7 +89,6 @@ sub detect_channels() {
} else {
$SIG{CHLD} = 'DEFAULT';
mkdir_p(dirname($config_file));
- system('/usr/sbin/drakhelp_inst w_scan') unless -e '/usr/bin/w_scan';
my $ret = system("w_scan -X > $config_file");
sleep(1);
POSIX::_exit($ret >> 8);