Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-20 Thread Igor Pechtchanski
On Fri, 20 Aug 2004, Christopher Cobb wrote: > Igor Pechtchanski cs.nyu.edu> writes: > > > FWIW, why not > > > > INSTALL_SITE_DIR=$PACKAGES_DIR/$(cd $PACKAGES_DIR && \ > > ls -1td $(cat /etc/setup/last-mirror | \ > > perl -pe 's/([^A-Za-z0-9\-_.!~*()\n])/"%".unpack("H2",$1)/eg') | \ > >

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-20 Thread Christopher Cobb
Igor Pechtchanski cs.nyu.edu> writes: > FWIW, why not > > INSTALL_SITE_DIR=$PACKAGES_DIR/$(cd $PACKAGES_DIR && \ > ls -1td $(cat /etc/setup/last-mirror | \ > perl -pe 's/([^A-Za-z0-9\-_.!~*()\n])/"%".unpack("H2",$1)/eg') | \ > head -1) # most recently modified install dir > I didn't kn

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-20 Thread Igor Pechtchanski
On Fri, 20 Aug 2004, Reini Urban wrote: > 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 thi

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-20 Thread Reini Urban
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 | egr

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-19 Thread Max Bowsher
Christopher Cobb wrote: Max Bowsher ukf.net> writes: setup isn't really designed for use from the command line. It doesn't take package names as arguments, for example. You could, I suppose, munge /etc/setup/installed.db to fool setup into thinking that a really old (e.g. version 0) version of a

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-19 Thread Christopher Cobb
Max Bowsher ukf.net> writes: > > Christopher Cobb wrote: > > I've found snipets of information, such as this: > > > >http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html > > > > What I would like is an example of how to use setup.exe from the command > > line > > (e.g., via ssh) t

RE: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-19 Thread Hannu E K Nevalainen
Max wrote: > Christopher Cobb wrote: >> I've found snipets of information, such as this: >> >>http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html >> >> What I would like is an example of how to use setup.exe from the >> command line (e.g., via ssh) to install a package remotely. >> >

Re: installing packages using setup.exe from the command line (e.g., remotely)

2004-08-19 Thread Max Bowsher
Christopher Cobb wrote: I've found snipets of information, such as this: http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html What I would like is an example of how to use setup.exe from the command line (e.g., via ssh) to install a package remotely. I've tried this: setup -D -s f