summaryrefslogtreecommitdiffstats
path: root/mdkonline.pm
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-09-27 11:27:07 +0000
committerDaouda Lo <daouda@mandriva.com>2004-09-27 11:27:07 +0000
commitb5a26772db4424f0102aadef395f1141e9692556 (patch)
tree610a6c059c932e24c68ce55890275003ce985e6e /mdkonline.pm
parente710563bf949c5a72d2542a1204c1f69dbf7efb6 (diff)
downloadmgaonline-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.pm3
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 {