version 1.4 ----------- * In ligotools_activate, don't create links for files ending in a tilde (~). * Make use_ligotools more robust at figuring out what shell it is being run under. This fixes a problem when running on OSF1, for instance. version 1.5 ----------- * Bug fix in ligotools_install, ligotools_activate, and ligotools_deactivate: previous versions assumed that the current working directory (.) was in your PATH. * In ligotools_install, modified how tar is executed so that the ownership of the unpacked files is that of the person who unpacks them, not the person who owned them when the tar-file was created. (By default, the SunOS version of tar preserves the original ownership if and only if the superuser unpacks the files. The GNU version of tar does NOT try to preserve the original ownership unless explicitly told to do so.) * Modified ligotools_activate to create relative rather than absolute symbolic links when possible; modified ligotools_deactivate and ligotools_cleanup to remove either type of link appropriately. * In ligotools_activate, don't create the "active" link and the ACTIVE file until all other symbolic links have been created. * Added a log file, $LIGOTOOLS/config/admin.log, to keep track of administrative operations. version 1.6 ----------- * Modified ligotools_install so that if a 'postinstall' script exits with a nonzero status code, then the package is NOT activated. * Modified ligotools_list so that it can optionally take an argument which is the name of a LIGOtools package; in this case, version info is printed only for that one package. version 2.0 ----------- * Modified use_ligotools to work on Darwin (Mac) systems, for which the ps command does not have an option '-f'. This also fixes a problem observed by Kevin Chan when using csh on a Linux system, for which 'ps -f' reports that the command is '-sh'. * Added Darwin and Windows as known types in ltsystype. * Modified ligotools_install to check whether tar is the GNU variety or some other variety, and to use the 'o' option only in the latter case. * Macintosh computers turn out to have case-insensitive filenames, so it was causing problems to have both a symbolic link named "active" and a file named "ACTIVE". The ACTIVE file isn't really needed, since one can read the link to figure it out. So: Modified ligotools_init and ligotools_activate to not create the ACTIVE file. Modified ligotools_install, ligotools_uninstall, ligotools_activate, ligotools_deactivate, and ligotools_list to determine the active version from the 'active' link rather than from the ACTIVE file. Modified ligotools_deactivate to delete the ACTIVE file (which is now extraneous) only if it is a regular file, not a link. Modified ltadmin.html to remove remark about the ACTIVE file. version 2.1 ----------- The first change in version 2.0, removing the '-f' option from the 'ps' command in use_ligotools, broke scripts on Solaris (and maybe on Linux too), as discovered by Masha and Isaac. It turns out that the '-f' option is needed to make 'ps' report the name of the shell from which the script was executed. However, on MacOS, this information seems to be given without the '-f' option (which does not have the same meaning under MacOS anyway). So, I changed use_ligotools to execute 'ltsystype' and use '-f' on all systems EXCEPT MacOS. version 2.2 ----------- Version 2.1 did not work on Mac because I had stupidly used ltsystype to check the system type in use_ligotools, and obviously ltsystype is not generally in the PATH at the time one does use_ligotools! So use 'uname -s' instead. version 2.3 ----------- Modified ligotools_update to allow user to specify one or more packages on the command line; only these packages will be checked for updates. An error occurs if the user specifies a nonexistent package. Modified ligotools_list to allow user to specify any number of packages on the command line; only these packages are listed. (Previously, the user could specify at most one package on the command line.) It is not an error to specify a nonexistent package. Modified ligotools_update to download the distribution file into the $LIGOTOOLS directory, rather than the user's home directory. New mechanism for assembling distribution files from CVS workspace. Add HISTORY file to initdist distribution file. Fixed ligotools_init to work properly on Mac OS X, thanks to input from Dave Chin. When setting up LIGOtools directory structure, suggest subdirectory of $HOME as first choice. version 2.4 ----------- In ligotools_init, strip out more special characters. Change use_ligotools to try /bin/ps first without the -f option, and then call it again with the -f option only if necessary -- in particular, if use_ligotools is executed within a script. Released 27 Jan 2005