1
0
Fork 0
mirror of synced 2024-12-22 14:51:05 -05:00

made perl's Time::HiRes a strong requirement (2)

This commit is contained in:
Gregory Pakosz 2024-05-20 09:29:22 +02:00
parent cd3744965a
commit 9cf49731cd

View file

@ -1677,9 +1677,10 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
# if ! command -v perl > /dev/null 2>&1; then # if ! command -v perl > /dev/null 2>&1; then
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl" \; set -u display-time \; run "sleep 3" \; kill-server' # tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl" \; set -u display-time \; run "sleep 3" \; kill-server'
# return # return
# fi
# if ! perl -MTime::HiRes -e1 > /dev/null 2>&1; then # if ! perl -MTime::HiRes -e1 > /dev/null 2>&1; then
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl Time::HiRes" \; set -u display-time \; run "sleep 3" \; kill-server' # tmux run -b 'tmux set display-time 3000 \; display "This configuration requires perl Time::HiRes" \; set -u display-time \; run "sleep 3" \; kill-server'
# fi # return
# fi # fi
# if ! command -v sed > /dev/null 2>&1; then # if ! command -v sed > /dev/null 2>&1; then
# tmux run -b 'tmux set display-time 3000 \; display "This configuration requires sed" \; set -u display-time \; run "sleep 3" \; kill-server' # tmux run -b 'tmux set display-time 3000 \; display "This configuration requires sed" \; set -u display-time \; run "sleep 3" \; kill-server'