}
pkg_pre_install() {
- # web_* are defined in webi/template.bash at https://github.com/webinstall/packages
+ # web_* are defined in _webi/template.sh at https://github.com/webinstall/packages
# if selected version is installed, re-link it and quit
webi_check
pkg_post_install() {
pkg_link
- # web_path_add is defined in webi/template.bash at https://github.com/webinstall/packages
+ # web_path_add is defined in _webi/template.sh at https://github.com/webinstall/packages
webi_path_add "$pkg_dst_bin"
}
# There is no magic!
# The custom functions for Caddy are here.
# The generic functions - version checks, download, extract, etc - are here:
-# - https://github.com/webinstall/packages/branches/master/webi/template.bash
+# - https://github.com/webinstall/packages/branches/master/_webi/template.sh
set -e
set -u
# The custom functions for Deno are here.
# For the generic functions - version checks, download, extract, etc:
-# See https://github.com/webinstall/packages/branches/master/webi/template.bash
+# See https://github.com/webinstall/packages/branches/master/_webi/template.sh
set -e
set -u
# pkg_src, pkg_src_bin, pkg_src_cmd
# pkg_dst, pkg_dst_bin, pkg_dst_cmd
#
-# Their defaults are defined in webi/template.bash at https://github.com/webinstall/packages
+# Their defaults are defined in _webi/template.sh at https://github.com/webinstall/packages
pkg_cmd_name="flutter"
# pkg_src, pkg_src_bin, pkg_src_cmd
# pkg_dst, pkg_dst_bin, pkg_dst_cmd
#
-# Their defaults are defined in webi/template.bash at https://github.com/webinstall/packages
+# Their defaults are defined in _webi/template.sh at https://github.com/webinstall/packages
pkg_get_current_version() {
# 'go version' has output in this format:
pkg_post_install() {
webi_link
- # web_path_add is defined in webi/template.bash at https://github.com/webinstall/packages
+ # web_path_add is defined in _webi/template.sh at https://github.com/webinstall/packages
# Updates PATH with
# "$HOME/.local/opt/go"
webi_path_add "$pkg_dst_bin"
# just in case we add something in the future
pkg_link
- # web_path_add is defined in webi/template.bash at https://github.com/webinstall/packages
+ # web_path_add is defined in _webi/template.sh at https://github.com/webinstall/packages
# Adds "$HOME/.local/opt/node" to PATH
webi_path_add "$pkg_dst_bin"
}
# There is no magic!
# The custom functions for node are here.
# The generic functions - version checks, download, extract, etc - are here:
-# - https://github.com/webinstall/packages/branches/master/webi/template.bash
+# - https://github.com/webinstall/packages/branches/master/_webi/template.sh
set -e
set -u