fix typo WEBI_PKG_NAME => WEBI_NAME
authorAJ ONeal <coolaj86@gmail.com>
Sun, 14 Jun 2020 07:48:27 +0000 (01:48 -0600)
committerAJ ONeal <coolaj86@gmail.com>
Sun, 14 Jun 2020 07:48:27 +0000 (01:48 -0600)
webi/template.bash

index f8a990c16039b22bac69c2c770b6004e93b80afa..a333db27b521cd4baea7a64f7678939fbab05dc4 100644 (file)
@@ -56,7 +56,7 @@ webi_check() {
         if [ -n "$(command -v pkg_format_cmd_version)" ]; then
             my_canonical_name="$(pkg_format_cmd_version "$WEBI_VERSION")"
         else
-            #my_canonical_name="$WEBI_PKG_NAME $WEBI_VERSION"
+            #my_canonical_name="$WEBI_NAME $WEBI_VERSION"
             my_canonical_name="$pkg_cmd_name v$WEBI_VERSION"
         fi
         if [ "$my_new_version" == "$my_current_version" ]; then
@@ -166,7 +166,7 @@ webi_path_add() {
 ##
 
 if [ -n $(command -v pkg_install) ]; then
-    pkg_cmd_name="${pkg_cmd_name:-$WEBI_PKG_NAME}"
+    pkg_cmd_name="${pkg_cmd_name:-$WEBI_NAME}"
 
     pkg_common_opt="${pkg_common_opt:-$HOME/.local/opt/$pkg_cmd_name}"
     pkg_common_bin="${pkg_common_bin:-$pkg_common_opt/bin}"