On Fri, Mar 05, 2004 at 04:45:20PM +0100, Andreas Metzler wrote: > On Fri, Mar 05, 2004 at 04:24:01PM +0100, Frank K?ster wrote: > > although I've read the policy again, I am not sure whether it is allowed > > to store scripts in /usr/share/$package? In particular, scripts that are > > only meant to be called by postinst (or prerm), never by a user. They > > could go to /usr/lib/$package, but that would mean creating an extra > > directory. Therefore I'd prefer to keep them in /usr/share/$package > > which exists anyway. Is this o.k.? > > > *IMHO* If they are arch-independent (and "scripts" usually are) > /usr/share/$package is correct and /usr/lib/$package would be a bug.
That's not entirely accurate; the FHS was rather ambiguous on this point the last time I checked, and it's not necessarily a simple matter of deciding based on architecture dependence. For example, it would be rather silly for a package containing multiple auxiliary programs to divide them up between /usr/lib and /usr/share according to whether they were scripts or binaries, and even sillier to have to move them around between the two if they were rewritten in a different language. -- - mdz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]