delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/08/19:21:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RDNS_NONE,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <50ECB7DA.8060608@timcollins.com>
Date: Tue, 08 Jan 2013 16:20:42 -0800
From: Tim Collins <cygwin_forum_13 AT timcollins DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin installer v2.774, lyx postinstall error
References: <50EBC161 DOT 6000007 AT timcollins DOT com> <50EBC3D5 DOT 3030008 AT gmail DOT com>
In-Reply-To: <50EBC3D5.3030008@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019