Re: [rock-sm] 2005101122523004578 stf new

Benjamin Schieder <blindcoder-1k+CIuW/[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
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.

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

Looks much nicer :)

Greetings,
	Benjamin
-- 
The Nethack IdleRPG! Idle to your favorite Nethack messages!
http://pallas.crash-override.net/nethackidle/

_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDTLdi7Wabow2Um2YRAoCWAJ9kJGK0mYgcT8geYzevQwUTJm3DbQCeM19a
MapQrd/J+kmJf3uQkzNEKTI=
=7Qdr
-----END PGP SIGNATURE-----
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.