installing packages using setup.exe from the command line (e.g., remotely)
Reini Urban
rurban@x-ray.at
Fri Aug 20 15:35:00 GMT 2004
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/
More information about the Cygwin
mailing list