summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-02 06:52:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-02 06:52:22 +0000
commitdb02946e5f58e282d5056a57d50208022f2fc796 (patch)
tree7755a8abb9c238d4e6405c546c516a7e2458114c /perl-install/standalone
parent16c8467a9f303721a889bf4248ae02ad178fa471 (diff)
downloaddrakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.gz
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.bz2
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.tar.xz
drakx-backup-do-not-use-db02946e5f58e282d5056a57d50208022f2fc796.zip
introduce ->ensure_binary_is_installed and use it
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakups2
-rwxr-xr-xperl-install/standalone/drakxtv2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 9ebadc838..a3027d098 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -380,6 +380,6 @@ foreach my $i (@pages) {
#------------------------------------------------------------------
# let's start the show:
-$in->do_pkgs->ensure_is_installed('nut-server', '/usr/sbin/upsd') if !$::testing;
+$in->do_pkgs->ensure_binary_is_installed('nut-server', 'upsd') if !$::testing;
$w->{rwindow}->show_all;
$w->main;
diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv
index 40e78fb09..b57547113 100755
--- a/perl-install/standalone/drakxtv
+++ b/perl-install/standalone/drakxtv
@@ -35,7 +35,7 @@ sub scan4channels() {
# xawtv has been installed by DrakX when/if it's detected a tv
# card.
- $in->do_pkgs->ensure_is_installed('xawtv', '/usr/bin/scantv');
+ $in->do_pkgs->ensure_binary_is_installed('xawtv', 'scantv');
my ($ftable_id, $norm);
# this table must be checked on each xawtv release: