This commit is contained in:
inxi-svn 2011-05-21 23:17:23 +00:00
parent 07107f432f
commit 02e122f8aa

2
inxi
View file

@ -2699,7 +2699,7 @@ get_de_version()
/'$2'/ { /'$2'/ {
gsub(",","",$0) # xfce output has , in it, so dump all commas gsub(",","",$0) # xfce output has , in it, so dump all commas
print $'$3' print $'$3'
exit # so that only first match runs exit # quit after first match prints
}' ) }' )
echo $version echo $version