[Rpm-maint] [rpm-software-management/rpm] Add a rpm-lua(7) man page for the embedded Lua interpreter (PR #3809)
Panu Matilainen
notifications at github.com
Thu Jun 19 11:52:15 UTC 2025
@pmatilai commented on this pull request.
> + ```
+
+*unsetenv(*_name_*)*
+ Remove a variable _name_ from environment. See also *unsetenv*(3).
+
+ Example:
+ ```
+ posix.unsetenv('HOME')
+ ```
+
+# Extending and customizing
+On initialization, RPM executes a global _init.lua_ Lua initialization script,
+typically located in _/usr/lib/rpm/init.lua_. This can be used for performing
+custom runtime configuration of RPM and adding global functions and variables
+to the RPM Lua environment without recompiling RPM.
+
Actually that subject doesn't really belong to this section. I added separate mentions to macros, where it'll always be a global shared space, and another one to the scriptlet section stating they should not make such assumptions.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3809#discussion_r2156824324
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3809/review/2942683647 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250619/34601d17/attachment.htm>
More information about the Rpm-maint
mailing list