summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-17 00:34:16 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-17 00:34:16 +0000
commit1544a930f0e62709c88152051b4a793f61a71f64 (patch)
tree83d28a575de514b37f8e0179684b316b36c95662 /samples
parentdbbc4f325c7b56090c4370818f84f9901d0e7fa2 (diff)
document rpm and exe formats in example package config
git-svn-id: file:///home/or/svnrepo/updater/trunk@17303 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'samples')
-rw-r--r--samples/example-package.cfg26
1 files changed, 23 insertions, 3 deletions
diff --git a/samples/example-package.cfg b/samples/example-package.cfg
index 7f776cf..8e0b578 100644
--- a/samples/example-package.cfg
+++ b/samples/example-package.cfg
@@ -6,9 +6,6 @@ name = "example"
# Encodes version 0.1.2.
version = [0, 1, 2]
-# What kind of package is this?
-format = "rpm"
-
# Where in the repository does it go?
location = "/pkginfo/example/rpm/example-0.1.2.txt"
@@ -22,3 +19,26 @@ LongDesc('en',
Its description is not quite so long as it might be, but hey.""")
+# What kind of package is this?
+format = "none"
+
+# Thandy knows how to manage some file formats, but it needs to include
+# extra info to do so properly.
+#
+#### The RPM format
+#
+# format = "rpm"
+# # What is the actual version, according to RPM, of this package when it's
+# # installed?
+# rpm_version = "0.1.2"
+
+#### The EXE format.
+# # (You can use this format for anything that you install by executing it
+# # that does not have its own built-in installation mechanism.)
+#
+# format = "exe"
+# # What arguments do you pass to this package to install it?
+# # This needs to be a list of strings.
+# exe_args = [ "--silent", "--automatic", "--omit-bugs", ]
+
+