Re: [rock-sm] 2005101122523004578 stf new

Stefan Fiedler <[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
Am Mittwoch 12 Oktober 2005 09:12 schrieb Benjamin Schieder:
> On Tue, Oct 11, 2005 at 10:52:30PM +0200, [email protected] wrote:
> > Open Patch: 2005101122523004578 [by stf]                     + stf
> >
> > Stefan Fiedler:
> >         automake: supply postinstall script which adds
> >                 "opt/*/share/aclocal/" dirs to /usr/share/
> > aclocal/dirlist
>
> Two suggestions. First: Why not call it postinstall.sh? That way it would
> be installed automatically and would not need special code in the .conf
> file.

The file would be included as automake-postinstall.sh in every fork of
automake and create a shared file conflict. Possible solution: install a
postinstall.sh as $xpkg-postinstall.sh, not $pkg-postinstall.sh. This is done
in https://www.rocklinux.net/submaster/smadm.cgi?i=2005101218401926384

> Second:
> dirlist="/usr/share/aclocal/dirlist"
>
> [ ! -f $dirlist ] && touch $dirlist
>
> all_installed "opt/.*/share/aclocal/$" |
> while read aclocaldir; do
> 	if ! grep -q "$aclocaldir" $dirlist ; then
> 		echo "$aclocaldir" >> $dirlist
> 	fi
> done

Shamelessly copied in
https://www.rocklinux.net/submaster/smadm.cgi?i=2005101218403326450 :)

> Looks much nicer :)
>
> Greetings,
> 	Benjamin

-------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.