* Eugene Grosbein <[email protected]> [20230418 17:03]:
> 18.04.2023 16:51, Felix Palmen wrote:
> 
> > With lua scripts, you can't even use freebsd-version because execution
> > is very restricted for them in pkg. And for some features (like e.g.
> > dynamically creating a pkg-message output), you need lua...
> 
> You don't need lua to create pkg-message dynamically or do many other things.
> It was possible long before invention of lua itself :-)

Maybe some context got lost here. You *do* need lua to dynamically
generate "pkg-message" output at install time. The pkg lua API for that
is pkg.print_msg(). It isn't available from shell scripts.

-- 
 Felix Palmen <[email protected]>     {private}   [email protected]
 -- ports committer (mentee) --            {web}  http://palmen-it.de
 {pgp public key}  http://palmen-it.de/pub.txt
 {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231

Attachment: signature.asc
Description: PGP signature

Reply via email to