fixing breakage, again

This commit is contained in:
trash80.v2.0 2008-12-20 06:59:04 +00:00
parent 817780b18d
commit 3c0a999b13

4
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 0.8.11.b2.3 #### version: 0.8.11.b2.4
#### Date: December 16 2008 #### Date: December 16 2008
######################################################################## ########################################################################
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif #### 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 # 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. # 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 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 for j in $DISTROS_LSB_GOOD
do do
if [[ " ${distro_file} " == *" $j "* ]];then if [[ " ${distro_file} " == *" $j "* ]];then