On Thu, Mar 04, 2004 at 02:05:33PM +0100, Michael Schmitz wrote: > The libx11-6 postrm script still dies (with my change applied) because > /usr/X11R6/lib is the _only_ line in ld.so.conf, and the output file is > empty after the fgrep -v. set -e makes the postrm script die. > > Suggested change: > > fgrep -qsvx "$dir" "$ldsoconf" > "$ldsoconf.dpkg-tmp" || echo "empty > ld.so.conf!" > > or some such.
Probably something like these: ------------------------------------------------------------------------ r1085 | branden | 2004-02-20 12:17:19 -0500 (Fri, 20 Feb 2004) | 7 lines (deregister_x_lib_dir_with_ld_so): Rework the file replacement logic so that we are indifferent to whether or not there are any lines in /etc/ld.so.conf that do not match /usr/X11R6/lib, and we do not replace the file if we're not actually changing it. Thanks to Filip Van Raemdonck and Andreas Metzler for forcing me to think about this more carefully. ------------------------------------------------------------------------ r1084 | branden | 2004-02-20 11:00:06 -0500 (Fri, 20 Feb 2004) | 3 lines Only attempt to remove /usr/X11R6/lib directory from /etc/ld.so.conf if it is in the file. Note the dates of these changes. You might be able to save yourself some time and effort by being attentive to the Debian X Strike Force Subversion repository for XFree86. One easy way to do so is simply to subscribe to the debian-x mailing list. -- G. Branden Robinson | It's not a matter of alienating Debian GNU/Linux | authors. They have every right to [EMAIL PROTECTED] | license their software however we http://people.debian.org/~branden/ | like. -- Craig Sanders
signature.asc
Description: Digital signature