summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/installerfw.qdoc29
1 files changed, 15 insertions, 14 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index baf6f1261..14aadc19c 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -1007,34 +1007,35 @@
Updates.xml file in the current repository. You can add, replace, or remove
repositories.
+ \code
+ <RepositoryUpdate>
+ <Repository action="..." OPTIONS />
+ <Repository action="..." OPTIONS />
+ </RepositoryUpdate>
+ \endcode
+
\section2 Adding Repositories
- To update a repository, add the following code to Updates.xml:
+ To update a repository, add the following code to the RepositoryUpdate section:
\code
- <RepositoryUpdate>
- <Repository action="add" url="http://www.example.com/repository" name="user" password="password"
+ <Repository action="add" url="http://www.example.com/repository" name="user" password="password"
displayname="Example Repository" />
- </RepositoryUpdate>
\endcode
\section2 Removing Repositories
- To remove a repository, add the following code to Updates.xml:
+ To remove a repository, add the following code to the RepositoryUpdate section:
\code
- <RepositoryUpdate>
- <Repository action="remove" url="http://www.example.com/repository" />
- </RepositoryUpdate>
+ <Repository action="remove" url="http://www.example.com/repository" />
\endcode
\section2 Replacing repositories
- To replace one repository with another, add the following code to Updates.xml:
+ To replace one repository with another, add the following code to the RepositoryUpdate section:
\code
- <RepositoryUpdate>
- <Repository action="replace" oldurl="http://www.example.com/repository"
- newurl="http://www.example.com/newrepository" name="user" password="password"
- displayname="New Example Repository" />
- </RepositoryUpdate>
+ <Repository action="replace" oldurl="http://www.example.com/repository"
+ newurl="http://www.example.com/newrepository" name="user" password="password"
+ displayname="New Example Repository" />
\endcode
*/