Bug 32428 - XFree86-xfs-4.0.3-1: warning in post-install script
XFree86-xfs-4.0.3-1: warning in post-install script
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86 (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-03-20 16:25 EST by Olivier Baudron
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-20 16:25:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Olivier Baudron 2001-03-20 16:25:30 EST
Upgrading XFree86-xfs caused the following warning:

# rpm -Uvh XFree86-xfs-4.0.3-1.i386.rpm
grep: /etc/X11/XF86Config-4: No such file or directory

The problem is in the post-install script:

for config in /etc/X11/XF86Config /etc/X11/XF86Config-4 ; do
	if grep -q "unix/:" $config >& /dev/null && \

Through /bin/bash, there would not be any problem, but since rpm uses
/bin/sh, I suggest to use the usual syntax:

	if grep -q "unix/:" $config > /dev/null 2>&1 && \
Comment 1 Bill Nottingham 2001-03-20 17:58:17 EST
Yup, this should be fixed in -2.

Note You need to log in before you can comment on or make changes to this bug.