HardwareChecker: try to install the netcat package
and do it before trying to use it.
This commit is contained in:
parent
2a9ee98bf0
commit
894526b51a
8
3rdparty/mmu_man/scripts/HardwareChecker.sh
vendored
8
3rdparty/mmu_man/scripts/HardwareChecker.sh
vendored
@ -12,7 +12,7 @@
|
||||
netcat=netcat
|
||||
report_site=fake.haikuware.com
|
||||
report_cgi=http://haikuware.com/hwreport.php
|
||||
packages="dmidecode"
|
||||
packages="dmidecode netcat"
|
||||
|
||||
do_notify ()
|
||||
{
|
||||
@ -373,12 +373,12 @@ check_all ()
|
||||
|
||||
tf=/tmp/hw_checker_$$.html
|
||||
|
||||
do_notify 0.0 "Checking for network..."
|
||||
detect_network
|
||||
|
||||
do_notify 0.0 "Checking for needed packages..."
|
||||
try_install_packages
|
||||
|
||||
do_notify 0.0 "Checking for network..."
|
||||
detect_network
|
||||
|
||||
check_all > "$tf"
|
||||
|
||||
open "$tf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user