nix xbin in favor of opt/PKG_VER/bin
authorAJ ONeal <aj@therootcompany.com>
Tue, 14 Jul 2020 20:06:50 +0000 (20:06 +0000)
committerAJ ONeal <aj@therootcompany.com>
Tue, 14 Jul 2020 20:07:00 +0000 (20:07 +0000)
_webi/template.sh

index fca9c699a34b3efa0f82a4a0399a0c2ace101cd7..aaf32e0091c3410cf007f9f4c74abecade397595 100644 (file)
@@ -294,7 +294,8 @@ if [ -n "$(command -v pkg_get_current_version)" ]; then
         pkg_dst_cmd="${pkg_dst_cmd:-$HOME/.local/bin/$pkg_cmd_name}"
         pkg_dst="$pkg_dst_cmd" # "$(dirname "$(dirname $pkg_dst_cmd)")"
 
-        pkg_src_cmd="${pkg_src_cmd:-$HOME/.local/xbin/$pkg_cmd_name-v$WEBI_VERSION}"
+        #pkg_src_cmd="${pkg_src_cmd:-$HOME/.local/opt/$pkg_cmd_name-v$WEBI_VERSION}/bin/$pkg_cmd_name-v$WEBI_VERSION}"
+        pkg_src_cmd="${pkg_src_cmd:-$HOME/.local/opt/$pkg_cmd_name-v$WEBI_VERSION}/bin/$pkg_cmd_name}"
         pkg_src="$pkg_src_cmd" # "$(dirname "$(dirname $pkg_src_cmd)")"
     else
         pkg_dst="${pkg_dst:-$HOME/.local/opt/$pkg_cmd_name}"