delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/20/10:05:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4126053B.6050205@x-ray.at>
Date: Fri, 20 Aug 2004 16:05:47 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a2) Gecko/20040714
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: installing packages using setup.exe from the command line (e.g., remotely)
References: <loom DOT 20040819T173137-946 AT post DOT gmane DOT org> <00c801c4860a$adcd62d0$78d96f83 AT robinson DOT cam DOT ac DOT uk> <loom DOT 20040819T224628-719 AT post DOT gmane DOT org>
In-Reply-To: <loom.20040819T224628-719@post.gmane.org>
X-IsSubscribed: yes

Christopher Cobb schrieb:
...
> --- begin installCygwinPackage.sh ---
...
> PACKAGES_DIR=/packages # adjust this for your installation
> 
> INSTALL_SITE_DIR=$PACKAGES_DIR/`(cd $PACKAGES_DIR && ls -1t | head -1)` # most

and I prefer this line:

INSTALL_SITE_DIR=$PACKAGES_DIR/`(cd $PACKAGES_DIR && ls -1t | egrep \ 
"^(http|ftp|rsync)*" | head -1)` # most recently modified install dir

I have several other subdirs there also.

-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

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

- Raw text -


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