We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40625a7 commit 3942ff6Copy full SHA for 3942ff6
lgsm/functions/info_distro.sh
@@ -73,8 +73,10 @@ glibcversion=$(ldd --version | sed -n '1s/.* //p')
73
# e.g: tmux 1.6
74
if [ ! "$(command -V tmux 2>/dev/null)" ]; then
75
tmuxv="${red}NOT INSTALLED!${default}"
76
+ tmuxvdigit="0"
77
else
- if [ "$(tmux -V | sed "s/tmux //" | sed -n '1 p' | tr -cd '[:digit:]')" -lt "16" ]; then
78
+ tmuxvdigit="$(tmux -V | sed "s/tmux //" | sed -n '1 p' | tr -cd '[:digit:]')"
79
+ if [ "${tmuxvdigit}" -lt "16" ]; then
80
tmuxv="$(tmux -V) (>= 1.6 required for console log)"
81
82
tmuxv=$(tmux -V)
0 commit comments