FS#3989 - foomatic-db-ppd install script

Attached to Project: Arch Linux
Opened by Joerg Doll (dojo) - Friday, 17 February 2006, 13:25 GMT
Last edited by Dale Blount (dale) - Friday, 17 February 2006, 13:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To arjan timmerman (blaasvis)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The ppd.install script delivered with foomatic-db-ppd has the following wrong lines

--snip begin ---
post_install() {
if [ ! -e /usr/share/cups/model/foomatic ]
then
if [ -e /usr/share/cups/model/foomatic ]
then
ln -s /usr/share/foomatic /usr/share/cups/model/foomatic
fi
fi
}
-- snip end ---

As you can see "ln -s" will never be executed. The result of that is, that all footmatic-ppds will not be available for selection in cups configuration.

Solution: Just remove the first "if"-statement and the associated "then" and "fi".

Greets

dojo
This task depends upon

Closed by  arjan timmerman (blaasvis)
Sunday, 26 March 2006, 14:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 20060326

Loading...