mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
fixed legacy fluxbox version detection, using -v, which also works on current
This commit is contained in:
parent
e5de0b84e6
commit
458f513ffa
3
inxi
3
inxi
|
@ -5343,7 +5343,8 @@ get_program_version()
|
||||||
|
|
||||||
# mate-about -v = MATE Desktop Environment 1.4.0
|
# mate-about -v = MATE Desktop Environment 1.4.0
|
||||||
case $1 in
|
case $1 in
|
||||||
dwm|jwm|mate-about|wmii|wmii2)
|
# legacy fluxbox had no --version, and current -v works
|
||||||
|
dwm|fluxbox|jwm|mate-about|wmii|wmii2)
|
||||||
get_version='-v'
|
get_version='-v'
|
||||||
;;
|
;;
|
||||||
epoch)
|
epoch)
|
||||||
|
|
Loading…
Reference in a new issue