From 3c0a999b13d577dca615a60593e8780edd7b8643 Mon Sep 17 00:00:00 2001 From: "trash80.v2.0" Date: Sat, 20 Dec 2008 06:59:04 +0000 Subject: [PATCH] fixing breakage, again --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 5ea4491..f83b27e 100644 --- a/inxi +++ b/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