diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 06:52:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 06:52:22 +0000 |
commit | db02946e5f58e282d5056a57d50208022f2fc796 (patch) | |
tree | 7755a8abb9c238d4e6405c546c516a7e2458114c /perl-install/standalone | |
parent | 16c8467a9f303721a889bf4248ae02ad178fa471 (diff) | |
download | drakx-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-x | perl-install/standalone/drakups | 2 | ||||
-rwxr-xr-x | perl-install/standalone/drakxtv | 2 |
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: |