From b95e8758876052f2965a98389c8431805770ad4f Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sun, 16 Jun 2013 03:51:06 +0000 Subject: [PATCH] branch one, trying patch for suse repos --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index d5f24ca..527c5be 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### Version: 1.9.8 #### Date: June 15 2013 -#### Patch Number: 02-b1 +#### Patch Number: 03-b1 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -7283,7 +7283,7 @@ get_repo_data() local repo_name='' local apt_file='/etc/apt/sources.list' yum_repo_dir='/etc/yum.repos.d/' yum_conf='/etc/yum.conf' local pacman_conf='/etc/pacman.conf' pacman_repo_dir='/etc/pacman.d/' pisi_dir='/etc/pisi/' - local zypp_repo_dir='/etc/zypp/repos.d' freebsd_conf='/etc/portsnap.conf' + local zypp_repo_dir='/etc/zypp/repos.d/' freebsd_conf='/etc/portsnap.conf' # apt - debian, buntus, also sometimes some yum/rpm repos may create apt repos here as well if [[ -f $apt_file || -d $apt_file.d ]];then @@ -7300,7 +7300,7 @@ get_repo_data() repo_files=$( ls $yum_repo_dir*.repo $yum_conf 2>/dev/null ) repo_name='yum' elif [[ -d $zypp_repo_dir ]];then - repo_files=$( ls $zypp_repo_dir 2>/dev/null ) + repo_files=$( ls $zypp_repo_dir*.repo 2>/dev/null ) repo_name='zypp' fi if [[ -n $repo_files ]];then