fixed legacy fluxbox version detection, using -v, which also works on current

This commit is contained in:
Harald Hope 2017-06-24 18:41:47 -07:00
parent e5de0b84e6
commit 458f513ffa

3
inxi
View file

@ -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)