defoma-app is a tool to configure the fonts registered in Defoma, Debian Font Manager, for a specific application. Defoma calls the Defoma-configuration script of the specified application with register or unregister command for each of the fonts registered in the categories accepted by the application. It is supposed to be invoked from postinst/prerm scripts of application packages, but may be invoked from console.
Update the configuration of the specified applica- tion about the fonts registered in the specified category. category can be omitted. When it is specified and the specified category is set ignored (to be mentioned later), ignore flag gets unset so the category gets updated. Internally the Defo- ma-configuration script of the application gets called with unregister command first and then with register command for each font of the category. Some directories and symlinks specified in the header of the script might be generated automati- cally. This command should be invoked when the Defoma-con- figuration script is newly installed or updated so that the script gets installed to Defoma data di- rectory and the fonts get configured to the appli- cation. It means it is supposed to be invoked on the postinst configure phase.
Clean up the configuration of the specified appli- cation about the fonts registered in the specified category. category can be omitted. Internally the Defoma-configuration script of the application gets called with unregister command for each font of the category.
This command is almost the same as clean command. It only differs on removing the script installed in the defoma data directory and some directories and symlinks if any was generated in the update command before. This command should be invoked when the Defoma-con- figuration script is going to be removed so that the script gets removed and the font configuration gets cleaned. It means it is supposed to be invoked on the prerm remove phase.
Exit with true value (0) even if error occurs.