WEBI_SINGLE=true
pkg_get_current_version() {
- # 'bat --version' has output in this format:
- # bat 0.15.4
- # This trims it down to just the version number:
- # 0.15.4
- echo $(bat --version 2>/dev/null | head -n 1 | cut -d' ' -f 2)
+ # 'bat --version' has output in this format:
+ # bat 0.15.4
+ # This trims it down to just the version number:
+ # 0.15.4
+ echo $(bat --version 2> /dev/null | head -n 1 | cut -d' ' -f 2)
}
pkg_install() {