From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94737 invoked by alias); 1 Jun 2015 10:05:01 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 94720 invoked by uid 89); 1 Jun 2015 10:05:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f54.google.com Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com) (74.125.82.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 01 Jun 2015 10:04:59 +0000 Received: by wgbgq6 with SMTP id gq6so109769009wgb.3 for ; Mon, 01 Jun 2015 03:04:56 -0700 (PDT) X-Received: by 10.194.134.9 with SMTP id pg9mr40621714wjb.5.1433153096816; Mon, 01 Jun 2015 03:04:56 -0700 (PDT) Received: from [172.21.188.214] ([149.6.156.42]) by mx.google.com with ESMTPSA id a18sm21102741wja.46.2015.06.01.03.04.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 03:04:55 -0700 (PDT) Message-ID: <556C2E40.3050409@gmail.com> Date: Mon, 01 Jun 2015 10:05:00 -0000 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: [Attn Maintainer] octave References: <87bnh3dw92.fsf@Rainer.invalid> <556946DF.3070502@gmail.com> <87d21i4n9y.fsf@Rainer.invalid> In-Reply-To: <87d21i4n9y.fsf@Rainer.invalid> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00002.txt.bz2 On 5/30/2015 8:01 AM, Achim Gratz wrote: > Marco Atzeri writes: > > TeXLive had the same problem, that's one of the reasons perpetual > postinstall scripts were introduced. You can look at that to see how > Ken deals with that. .. > Regards, > Achim. > Hi Achim, if I understood correctly a script called /etc/postinstall/zp_octave_finish.dash will be always executed at the end of the postinstall script sequence and never renamed as ".done". I am moving the octave update script in /var/lib/octave/update_packages_list so the new octave update should work as: 1) every octave-forge preremove/postinstall script touches /var/lib/octave/update.flag 2) zp_octave_finish.dash checks if /var/lib/octave/update.flag exists and if so execute /usr/bin/octave-cli /var/lib/octave/update_packages_list 3) /var/lib/octave/update_packages_list updates the octave package database and removes the /var/lib/octave/update.flag If there are no fork issue on 32 bit, I will implement in this way on 4.0.0 that I am just building together with update of the 50s octave-forge packages. Regards Marco