This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin installer v2.774, lyx postinstall error


On 1/7/2013 10:59 PM, marco atzeri wrote:
> On 1/8/2013 7:49 AM, Tim Collins wrote:
>> Marco,
>>
>> The package is lyx not lynx.
>>
>> $ cygcheck -l lyx | grep etc
>> /etc/postinstall/lyx.sh/lyx.sh
>>
> 
> 
> sorry, than it is a package mistake
> 
> Mon Jun 14 02:22:31 2010              0 etc/postinstall/
> Mon Jun 14 02:23:03 2010              0 etc/postinstall/lyx.sh/
> Thu Sep 28 03:08:48 2006            440 etc/postinstall/lyx.sh/lyx.sh

I'm a long time user of cygwin, but have not participated in development
and thus unfamiliar with  "general package ownership" or "how to fix".

This seems like it would be easy to fix so others don't have to deal
with it.  Is this something I can help fix and if yes, can you provide
an initial direction?

> 
> as workaround same suggestion
> 
> remove etc/postinstall/lyx.sh/
> move etc/postinstall/lyx.sh/lyx.sh to etc/postinstall/lyx.sh
> 
> 
My install was unaffected - it doesn't have the file that would be
manipulated: /etc/fonts/local.conf

=========== listing of lyx.sh ===========\
$ cat /etc/postinstall/lyx.sh/lyx.sh
#!/bin/sh

# Add /usr/share/lyx/fonts to /etc/fonts/local.conf
# if it is not already there.
if [ -f /etc/fonts/local.conf ]; then
    grep -q /usr/share/lyx/fonts /etc/fonts/local.conf
    if [ $? -ne 0 ]; then
        sed 's/^<\/fontconfig>/<dir>\/usr\/share\/lyx\/fonts<\/dir>
<\/fontconfig>/' /etc/fonts/local.conf > /etc/fonts/local.conf.tmp
        mv -f /etc/fonts/local.conf.tmp /etc/fonts/local.conf
        fc-cache /usr/share/lyx/fonts
    fi
fi

$

> /etc/postinstall should have no subdirectory
> 
> 
> -- 
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 
> 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]