X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=webi%2Ftemplate.bash;h=d346078cf8bb775fda615a804fee7c9cc84e7dcc;hb=b7f5ccf4d1ed1fcb59f573e8a8202506360f06c6;hp=a333db27b521cd4baea7a64f7678939fbab05dc4;hpb=816c589e9995b893c55fd9aac7fdefc204d4b746;p=webi-installers%2F.git diff --git a/webi/template.bash b/webi/template.bash index a333db2..d346078 100644 --- a/webi/template.bash +++ b/webi/template.bash @@ -182,9 +182,12 @@ if [ -n $(command -v pkg_install) ]; then pkg_install [ -n $(command -v pkg_post_install) ] && pkg_post_install - [ -n $(command -v pkg_link_new_version) ] && pkg_link_new_version - echo "Installed '$pkg_cmd_name' v$WEBI_VERSION as $pkg_new_cmd" + if [ -n $(command -v pkg_post_install_message) ]; then + pkg_post_install_message + else + echo "Installed '$pkg_cmd_name' v$WEBI_VERSION as $pkg_new_cmd" + fi echo "" fi