opt_setup 2.01 - runs opt_link, opt_clean and opt_depot in succession to update the software base and depot directories.
opt_setup [ -vqmrg ] [ -ddirectory ]
|
[ -ldirectory ] [ -bdirectory ] |
|
-v verbose mode |
|||
|
-q |
quiet mode (no logging) -m rebuild manpage index after making any changes to the man subdirectory, using the catman program. The command to run catman is defined inside the opt_depot script and may be changed there. |
||
|
-r |
recursive unification. opt_depot and opt_clean will merge directories recursivly. |
||
|
-g |
get_most_recent. When this option is selected, opt_link will allow exclusions to occur regardless of the priority of the archive where a package is located. For example, a version of emacs-19.33 which excludes emacs-19.30 would be installed even if it resided on a lower priority site volume than emacs-19.30. |
||
|
-bdirectory -ddirectory -ldirectory |
sets the software base directory sets the depot directory sets the log directory |
opt_setup sets up a package depot linked to a separate site. First it will run opt_link which will create all the links from packages in the the central package archives to the depot directory and remove any links to those packages that are no longer needed (i.e. the package has been removed). Then it will run opt_clean which will clean out any bad links within the software base directory (i.e. the directory containing the "bin", "lib", "man", etc. directories containing links to all the files within the packages needed by the user). Finally opt_depot will run and create the new links from the software base directory to the depot directory.
For a more detailed description of the process see the individual scripts.
All directory names should be absolute path names. Relative path names will not be accepted.