Bug 66257 - postinstall script error whe /etc/sgml is empty
Summary: postinstall script error whe /etc/sgml is empty
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: docbook-style-dsssl
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-06 20:29 UTC by Guy Streeter
Modified: 2016-02-10 01:31 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-19 14:23:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Guy Streeter 2002-06-06 20:29:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Description of problem:
When no files match the wildcard, the for loop is run once with the literal
string /etc/sgml/*-docbook-*.cat as its parameter. This creates a file called
*-docbook-*.cat, which makes things messy later on.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.install docbook-style-dsssl before anything else puts a file in /etc/sgml
2.see the /etc/sgml/*-docbook-*.cat file
3.
	

Actual Results:  /etc/sgml/*-docbook-*.cat

Expected Results:  no /etc/sgml/*-docbook-*.cat

Additional info:

Comment 1 Tim Waugh 2002-06-19 10:15:13 UTC
There are prereqs in place to prevent this.  Had you removed /etc/sgml or 
something?

Comment 2 Guy Streeter 2002-06-19 14:23:50 UTC
This problem showed up while bootstrapping an 8.0 distro. Perhaps some prereq
was satisfied by an older package (the buildroot was bootstrapped from from
7.2). Or perhaps it's just screwy because it's a buildroot and not an actual
installation.

Comment 3 Tim Waugh 2002-06-20 10:15:43 UTC
It prereqs docbook-dtd-sgml though, which has always populated /etc/sgml as 
far as I can recall. 
 
I think this must have been --nodeps'd in the build root.


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