This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| set -eu | |
| LESS_VERSION=$(less --version | head -n 1 | awk '{print $2}' | cut -d. -f1) | |
| if [ "$LESS_VERSION" -lt "582" ]; then | |
| echo "Your less version is too old ($LESS_VERSION). Please, install 582+ version of less." | |
| exit 1 | |
| fi |