The Autopackage API

GNOME

Functions for installing GNOME-specific files.

Functions in this category

NameParameters
getGnome2Prefix
installGnome2AppEntry <FILENAMES>
installGnome2Mime <FILENAMES>
installGConfSchema <FILENAMES>

Details

getGnome2Prefix
Syntax: getGnome2Prefix
Outputs: A directory name, or nothing when GNOME 2 is not found.
Returns: 0 when found, 1 when not found.
Get the prefix where GNOME 2 is installed to.


installGnome2AppEntry
Syntax: installGnome2AppEntry <FILENAMES>
FILENAMES: The .applications files to install.
Install GNOME 2 application entry files (.applications).


installGnome2Mime
Syntax: installGnome2Mime <FILENAMES>
FILENAMES: The .mime or .keys files to install.
Returns: 0 on success, 1 on error.
Install GNOME 2 MIME entries (.mime/.keys).


installGConfSchema
Syntax: installGConfSchema <FILENAMES>
FILENAMES: Location of GCONF schema files.
Installs given schema FILENAMES to the GConf database.
Example:
installGConfSchema "foobar.schemas"