Changes

Packages.xml

25 bytes added, 10:42, 8 September 2010
m
Individual XML package files: - language tidy up
==Individual XML package files==
If you would rather keep your package XML description in separate files, you can of course do itthat: just create a <code>packages</code> directory where <code>wpkg.js</code> is, and place individual XML files there (i.e., thunderbird.xml, firefox.xml etc.). The syntax is the same as that of packages.xml.
Note, if you decide to keep all your packages in separate XML files, you still, you need to have a <code>packages.xml</code> file. It , which should at least contain an empty entry:
<source lang="xml">
Here is an example of an individual XML file - note that it must contain <packages> at the beginning and </packages> at the end is needed:
<source lang="xml">
</source>
WARNING! Please note for this example: The password is visible on in the local copy of wpkg.xml, so remove after installinstallation, or better yet, use the command in a separate .bat file.
'''You can use the following script to convert/merge you your individual xml XML files to a big into one.''' (I use it for high latency networks).You Note: you must run it this script from within the packages directory.The script ; it ignores not well badly formed xml XML documents (and prints a warning).You ; you should remove your packages directory afterwards.WARNING: It ; it will overwrite you your packages.xml file.
<source lang="bash">
#!/bin/bash
577
edits