mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
fixing breakage, again
This commit is contained in:
parent
817780b18d
commit
3c0a999b13
4
inxi
4
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.8.11.b2.3
|
||||
#### version: 0.8.11.b2.4
|
||||
#### Date: December 16 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
||||
|
@ -1329,7 +1329,7 @@ get_distro_data()
|
|||
# never apply for ubuntu or debian, which will filter down to the following conditions. In general
|
||||
# if there's a specific distro release file available, that's to be preferred, but this is a good backup.
|
||||
elif [[ $distro = '' ]];then ## now check for the known good lsb-release distro's
|
||||
if [[ -f /etc/lsb-release ]];then
|
||||
if [[ ($distro_file == 'lsb-release') || -f /etc/lsb-release ]];then
|
||||
for j in $DISTROS_LSB_GOOD
|
||||
do
|
||||
if [[ " ${distro_file} " == *" $j "* ]];then
|
||||
|
|
Loading…
Reference in a new issue