[Rpm-maint] [rpm-software-management/rpm] Add a single query switch to show all "scriptlets" (Issue #3698)
Jan Engelhardt
notifications at github.com
Thu Sep 25 08:19:46 UTC 2025
jengelh left a comment (rpm-software-management/rpm#3698)
These things are not only known _commonly_ as scriptlets, but rpm itself calls them that _authoritatively_:
```
$ rpm -q --scripts systemd
preuninstall scriptlet (using /bin/sh):
[...]
```
This traces back to a41111b03c947258c66c1aaf16d3116e519e1fd7 . I would not mind treating the two words synonymously everywhere, but perhaps favoring the _shorter_ one of the words.
As for querying just one (or multiple types) of scripts, could we just make `--scripts=<comma-separated-list>` and `--scripts=all` a thing? What worries me is how popt might deal with POPT_ARGFLAG_OPTIONAL; perhaps a new POPT_ARGFLAG_OPTIONAL_ONLY_WITH_EQUALS may be warranted so popt does not treat `--script systemd` like `--script=systemd`.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3698#issuecomment-3332773876
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3698/3332773876 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250925/bc633c9b/attachment.htm>
More information about the Rpm-maint
mailing list