[det]pack_attach(+Dir,
+Options)Attach a single package in Dir. The Dir is
expected to contain the file pack.pl
and a prolog
directory. Options processed:
- duplicate(+Action)
- What to do if the same package is already installed in a different
directory. Action is one of
- warning
- Warn and ignore the package
- keep
- Silently ignore the package
- replace
- Unregister the existing and insert the new package
- search(+Where)
- Determines the order of searching package library directories. Default
is
last
, alternative is first
.
- See also
- attach_packs/2 to
attach multiple packs from a directory.