diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-09-27 11:27:07 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-09-27 11:27:07 +0000 |
commit | b5a26772db4424f0102aadef395f1141e9692556 (patch) | |
tree | 610a6c059c932e24c68ce55890275003ce985e6e /mdkonline.pm | |
parent | e710563bf949c5a72d2542a1204c1f69dbf7efb6 (diff) | |
download | mgaonline-b5a26772db4424f0102aadef395f1141e9692556.tar mgaonline-b5a26772db4424f0102aadef395f1141e9692556.tar.gz mgaonline-b5a26772db4424f0102aadef395f1141e9692556.tar.bz2 mgaonline-b5a26772db4424f0102aadef395f1141e9692556.tar.xz mgaonline-b5a26772db4424f0102aadef395f1141e9692556.zip |
- sync
Diffstat (limited to 'mdkonline.pm')
-rw-r--r-- | mdkonline.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index 393bed95..6068a587 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -171,7 +171,8 @@ sub mv_files { sub hw_upload { my ($login, $passwd, $hostname) = @_; - system("HWDB_PASSWD=$passwd hwdb_add_system $login $hostname &"); + my $hw_exec = '/usr/sbin/hwdb_add_system'; + -x $hw_exec and system("HWDB_PASSWD=$passwd $hw_exec $login $hostname &"); } sub automated_upgrades { |