Not ideal, but long project names with dashes can probably be split as multiple lines in a figlet issue banner. Ie, Company longprodname-arch -> Company\nlongprodname-\narch.
Signed-off-by: Christian Melki <[email protected]> --- scripts/lib/ptxd_make_xpkg_pkg.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 70e1bfb8c..c565f5870 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -743,6 +743,7 @@ install replace figlet: esac | \ awk '{ if ($0 !~ "^ *$") printf("%s\\n", $0) }' # newlines for sed } && + value=$(sed 's,-,-\n,g' <<< ${value}) && figlet="$(ptxd_figlet_helper "$value" "$escapemode")" && sed -i -e "s#${placeholder}#${figlet}#g" "${dirs[@]/%/${dst}}" || -- 2.30.2 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
