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