On 1/2/19 7:52 PM, Jason L Tibbitts III wrote:
>>>>> "FV" == Fabio Valentini
<decathorpe(a)gmail.com> writes:
FV> - unless those other, main icon theme packages have also added
FV> %transfiletrigger* scriptlets, like I've done for elementary and
FV> Paper.
Perhaps it should be mandatory for icon themes to add the necessary file
triggers so that no package will ever need to have a scriptlet which
calls gtk-update-icon-cache.
In general I think that the distro as a whole should pivot towards
official, guideline-codified scriptlet avoidance, such that adding
appropriate file triggers should be mandatory where it avoids the need
for packages down the dependency chain to have scriptlets. I'm sure
there are a number of places where this could be done. Having this as a
distro-wide goal would make it easier to get changes like the glibc
ldconfig file triggers implemented (which took years to get the current
incomplete implementation pushed).
+1
Ultimately the goal should be making the "traditional" scriptlets
extinct to the point that using them requires an exception.
I've no illusions here, it's going to be a long long road and require
further enhancements to rpm (for example dealing with users and groups)
but that's what the long-term overall goal should be.
- Panu -