Difference between revisions of "OS4X plugin os4xplugin set absolute to real filename"

From OS4X
Jump to navigation Jump to search
 
Line 1: Line 1:
 
[[Category:Plugins]]
 
[[Category:Plugins]]
== Zweck ==
 
  
Der Dateiname jeder Datei, die über das übergebene XML-File definiert ist, wird so geändert, dass der Name im Filesystem dem des reellen Filenamens in der XML übereinstimmt.
+
== Purpose ==
 +
The file name of each file that is defined via the passed XML file is changed so that the name in the file system matches the real file name in the XML.
  
== Voraussetzungen ==
+
== Requirements ==
 
+
* File <code>/etc/os4x.conf</code> or configuration file referenced by environment variable <code>$OS4X_CFGFILE</code>. The temporary directory and the license file are obtained via the database that is configured here.
* Datei <code>/etc/os4x.conf</code> bzw. Konfigurationsdatei in der Umgebungsvariable <code>$OS4X_CFGFILE</code> definiert. Über die Datenbank, die hier konfiguriert ist, wird das temporäre Verzeichnis sowie das Lizenzfile bezogen.  
 
 
 
== Konfiguration ==
 
  
 +
== Configuration ==
 
-
 
-
  
== Rückgabewerte ==
+
== Return codes ==
0: alles OK
+
*0: everything OK
  
Nicht vollziehbare Änderungen an Filenamen werden als Warnung ausgegeben, das Plugin selbst liefert immer einen Returncode von 0 zurück.
+
Changes to file names that cannot be implemented are issued as a warning; the plugin itself always returns a return code of 0.

Latest revision as of 08:42, 29 July 2024


Purpose

The file name of each file that is defined via the passed XML file is changed so that the name in the file system matches the real file name in the XML.

Requirements

  • File /etc/os4x.conf or configuration file referenced by environment variable $OS4X_CFGFILE. The temporary directory and the license file are obtained via the database that is configured here.

Configuration

-

Return codes

  • 0: everything OK

Changes to file names that cannot be implemented are issued as a warning; the plugin itself always returns a return code of 0.