The K Desktop Environment

Previous Table of Contents

The script builder

The script builder helps you to construct scripts that can raise the quality of an installation created by kinst. The script builder provides you with a bunch of templates which only have to be given the right parameters to perform their task.

Install documentation

The installer for documentation installs your application's documentation in multiple languages. It searches the directory you specified for subdirectories named with the countrycode corresponding to a specific language. Then it installs the documentation found in that directory to the appropriate locations in the KDE documentation tree.

Install locale

The installation of locales works nearly the same way as the installation of documentation. The script searches the specified directory for gmo-files named with the countrycode corresponding to the specific language (e.g. it.gmo for Italian). It then installs the files to their appropriate location.

Data directory

This script module installs the specified directory to the appropriate KDE data pool (this is normally _KDEDIR_/share/apps/_Application_)

Install MIME types

The files in the specified directory are installed to the specified MIME group. This script module can be added multiple times to install e.g. multiple MIME groups.

Delete directory

The specified directory will be deleted after the installation process. This can be usefull to remove unwanted directories that are no longer needed after installation (e.g. a directory that has been copied to other appropriate locations during the installation). PLEASE NOTE that the new KISS-functionality in kinst makes deletion of directories after installation a bit more complicated. To delete directories their pathnames have to contain the expression KINST_ADDITIONAL (in capital letters). Paths containing this expression will not be added to the KISS file database and therefore do not cause any problems with KISS and associated deinstallation routines when deleted.

Previous Table of Contents