mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
webi/template.bash => _webi/template.sh
This commit is contained in:
+2
-2
@@ -44,7 +44,7 @@ pkg_link() {
|
||||
}
|
||||
|
||||
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
|
||||
@@ -70,7 +70,7 @@ pkg_install() {
|
||||
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"
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
# 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
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
# 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
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ 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"
|
||||
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ pkg_cmd_name="go"
|
||||
# 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:
|
||||
@@ -46,7 +46,7 @@ pkg_link() {
|
||||
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"
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ pkg_post_install() {
|
||||
# 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"
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user