mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
changed portable to System
This commit is contained in:
parent
6b1fc9cdc0
commit
6e1f19bde3
6
inxi
6
inxi
|
@ -6040,11 +6040,11 @@ print_machine_data()
|
||||||
else
|
else
|
||||||
# this has already been tested for above so we know it's not null
|
# this has already been tested for above so we know it's not null
|
||||||
system_vendor=${A_MACHINE_DATA[0]}
|
system_vendor=${A_MACHINE_DATA[0]}
|
||||||
|
if [[ $B_LAPTOP == 'true' ]];then
|
||||||
|
system_vendor="$system_vendor (portable)"
|
||||||
|
fi
|
||||||
if [[ -n ${A_MACHINE_DATA[1]} ]];then
|
if [[ -n ${A_MACHINE_DATA[1]} ]];then
|
||||||
product_name=${A_MACHINE_DATA[1]}
|
product_name=${A_MACHINE_DATA[1]}
|
||||||
if [[ $B_LAPTOP == 'true' ]];then
|
|
||||||
product_name="$product_name (portable)"
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
product_name='N/A'
|
product_name='N/A'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue