From: Creed Haymond Date: Sat, 26 Jun 2021 15:42:37 +0000 (-0700) Subject: bugfix: use the default webi_install method for gprox X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=07420f775e90d2acff6522c2155adf34273d130e;p=webi-installers%2F.git bugfix: use the default webi_install method for gprox --- diff --git a/gprox/install.sh b/gprox/install.sh index d78f519..fdb7d42 100644 --- a/gprox/install.sh +++ b/gprox/install.sh @@ -18,15 +18,6 @@ pkg_src_dir="$HOME/.local/opt/gprox-v$WEBI_VERSION" pkg_src="$pkg_src_cmd" - # pkg_install must be defined by every package - pkg_install() { - # ~/.local/opt/gprox-v0.99.9/bin - mkdir -p "$(dirname $pkg_src_cmd)" - - # mv ./gprox-*/gprox ~/.local/opt/gprox-v0.99.9/bin/gprox - mv ./gprox-*/gprox "$pkg_src_cmd" - } - # pkg_get_current_version is recommended, but (soon) not required pkg_get_current_version() { # 'gprox --version' has output in this format: @@ -35,5 +26,4 @@ # 0.99.9 echo $(gprox --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2) } - }