Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

<updatecheck> - Cleaning Up After Updates

This feature can update an already installed package, therefore removing superfluous files after an installation.

Each pack can now specify an <updatecheck> tag. Includes and excludes can be defined as filesets, but no file name mappers can be used. If no include or exclude pattern is given all files are deleted in $INSTALL_Path on the target system, which were not part of the setup.

Be careful with this facility to not delete 3rd-party files coming from other installations, for instance plugins to a base application.

Example:

<updatecheck> Example
<updatecheck>
  <include name="lib/**" />
  <exclude name="config/local/** />
</updatecheck>

 

$INSTALL_PATH is treated as the base path for include/exclude patterns with relative paths.

  • No labels