fix(pkg_no_exec): also guard against linking and adding to PATH

This commit is contained in:
AJ ONeal
2023-10-31 15:09:48 -06:00
parent d34101aa80
commit 7996a52dfe
+5 -2
View File
@@ -512,6 +512,10 @@ __bootstrap_webi() {
# run post-install functions - just updating PATH by default
webi_post_install() {
if test -n "${pkg_no_exec}"; then
return 0
fi
webi_path_add "$(dirname "$pkg_dst_cmd")"
}
@@ -629,9 +633,8 @@ __bootstrap_webi() {
fi
)
webi_link
if test -z "${pkg_no_exec}"; then
webi_link
_webi_enable_exec
fi
(