add comrak for Markdown to HTML
[webi-installers/.git] / _webi / template.sh
index fc7629a27fec5bf2b4543f1614bd94d46e504975..651ae99fe967ace54a3d1773e2ea7eec237f051e 100644 (file)
@@ -319,10 +319,10 @@ if [ -n "$(command -v pkg_get_current_version)" ]; then
 
     webi_link
 
+    _webi_enable_exec
     pushd "$WEBI_TMP" 2>&1 >/dev/null
         [ -n "$(command -v pkg_post_install)" ] && pkg_post_install || webi_post_install
     popd 2>&1 >/dev/null
-    _webi_enable_exec
 
     pushd "$WEBI_TMP" 2>&1 >/dev/null
         [ -n "$(command -v pkg_done_message)" ] && pkg_done_message || _webi_done_message