|
|
@ -2,11 +2,13 @@ |
|
|
|
# LGSM fn_check_tmux function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: http://danielgibbs.co.uk |
|
|
|
# Version: 110315 |
|
|
|
# Version: 170415 |
|
|
|
|
|
|
|
# Checks if tmux is installed as too many users do not RTFM or know how to use Google. |
|
|
|
|
|
|
|
if [ -z "$(command -v tmux)" ]; then |
|
|
|
if [ "$(command -v tmux)" ]||[ "$(which tmux)" ]||[ -f "/usr/bin/tmux" ]; then |
|
|
|
: |
|
|
|
else |
|
|
|
fn_printfailnl "Tmux not installed" |
|
|
|
sleep 1 |
|
|
|
fn_scriptlog "Tmux is not installed" |
|
|
|