@kaniini Though RPM-based distros have been using triggers for a very long time (at least since 2002, probably longer ago).
@kaniini Can you explain how? I don’t know how they work in apk — and RPM has different types of triggers (package and file/directory triggers).
@kaniini RPM scriptlets are typically shell scripts (I have never seen any written in Lua) and may run at the earliest opportunity OR at the end of a transaction. For instance, openSUSE uses this to rebuild kernel modules and initramfs at the end of a transaction.
Tōhō, socialism, and a cute mouse.