mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
fix(pkg_no_exec): also guard against linking and adding to PATH
This commit is contained in:
+5
-2
@@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user