Re: X Strike Force XFree86 SVN commit: r1081 - trunk/debian
X Strike Force SVN Repository Admin <email@example.com> wrote:
> Stop passing -q to fgrep if we actually want output from it. Duh.
> Thanks again to Filip Van Raemdonck.
> observe "removing $dir directory from $ldsoconf"
> - fgrep -qsvx "$dir" "$ldsoconf" > "$ldsoconf.dpkg-tmp"
> + fgrep -svx "$dir" "$ldsoconf" > "$ldsoconf.dpkg-tmp"
> mv "$ldsoconf.dpkg-tmp" "$ldsoconf"
As noted by Filip Van Raemdonck in #233645 you'll also need to add
Otherwise if $ldsoconf contains _only_ $dir then
'fgrep -svx "$dir" "$ldsoconf' will return an error and the script will
BTW Thanks for the work.