From ecb4e51a59823b5ef0474c92eb8a2eca5a16f8f7 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 18 Jun 2011 02:51:36 +0000 Subject: [PATCH] tweak for output --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 6273edc..1fed457 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.6.10 #### Date: June 17 2011 -#### Patch Number: 07 +#### Patch Number: 08 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -4549,7 +4549,7 @@ get_optical_drive_data() # no need to test for errors yet, probably other user systems will require some alternate paths though if [[ -n $sys_path ]];then vendor=$( cat $sys_path/vendor 2>/dev/null | \ - sed -E -e 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' -e 's/('"$BAN_LIST_NORMAL"')//g' ) + sed -E -e 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' -e 's/TSSTcorp/TSST /' -e 's/('"$BAN_LIST_NORMAL"')//g' ) model=$( cat $sys_path/model 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' ) state=$( cat $sys_path/state 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' ) rev_number=$( cat $sys_path/rev 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' )