mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
feat(curlie): add curlie version
This commit is contained in:
+3
-5
@@ -12,12 +12,10 @@ function __init_curlie() {
|
||||
|
||||
pkg_get_current_version() {
|
||||
# 'curlie --version' has output in this format:
|
||||
# TODO
|
||||
# curlie 1.6.9 (2022-04-04T15:04:20Z)
|
||||
# This trims it down to just the version number:
|
||||
# TODO
|
||||
#echo $(curlie --version 2>/dev/null | head -n 1 | cut -d' ' -f 2)
|
||||
# See https://github.com/rs/curlie/issues/22
|
||||
echo "0.0.0"
|
||||
# 1.6.9
|
||||
curlie version 2> /dev/null | head -n 1 | cut -d' ' -f 2
|
||||
}
|
||||
|
||||
pkg_install() {
|
||||
|
||||
Reference in New Issue
Block a user