mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
rpm bug fix, no new version, new tarball.
This commit is contained in:
parent
39e240b6d6
commit
da17522bc7
9
inxi
9
inxi
|
@ -4819,12 +4819,15 @@ get_de_gtk_data()
|
||||||
# Name : libgtk-3-0
|
# Name : libgtk-3-0
|
||||||
# Version : 3.12.2
|
# Version : 3.12.2
|
||||||
elif type -p rpm &>/dev/null;then
|
elif type -p rpm &>/dev/null;then
|
||||||
toolkit=$( rpm -qi libgtk-3-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/ {print $3}' )
|
toolkit=$( rpm -qi libgtk-3-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/
|
||||||
|
{gsub(/^[[:space:]]+|[[:space:]]+$/,"",$2);print $2}' )
|
||||||
if [[ -z $toolkit ]];then
|
if [[ -z $toolkit ]];then
|
||||||
toolkit=$( rpm -qi libgtk-4-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/ {print $3}' )
|
toolkit=$( rpm -qi libgtk-4-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/
|
||||||
|
{gsub(/^[[:space:]]+|[[:space:]]+$/,"",$2);print $2}' )
|
||||||
fi
|
fi
|
||||||
if [[ -z $toolkit ]];then
|
if [[ -z $toolkit ]];then
|
||||||
toolkit=$( rpm -qi libgtk-2-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/ {print $3}' )
|
toolkit=$( rpm -qi libgtk-2-0 2>/dev/null | gawk -F ':' '/^[[:space:]]*Version/
|
||||||
|
{gsub(/^[[:space:]]+|[[:space:]]+$/,"",$2);print $2}' )
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue