mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
tweak
This commit is contained in:
parent
982f9a3e57
commit
c9731b0c02
2
inxi
2
inxi
|
@ -7124,7 +7124,7 @@ print_optical_drive_data()
|
||||||
state=''
|
state=''
|
||||||
vendor=''
|
vendor=''
|
||||||
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -eq 1 && -z ${a_drives[0]} && -z ${a_drives[1]} ]];then
|
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -eq 1 && -z ${a_drives[0]} && -z ${a_drives[1]} ]];then
|
||||||
drive_string="No optical drive detected."
|
drive_string="No optical drives detected."
|
||||||
else
|
else
|
||||||
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
||||||
counter="-$(( i + 1 ))"
|
counter="-$(( i + 1 ))"
|
||||||
|
|
Loading…
Reference in a new issue