summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-22 03:39:14 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-22 03:39:14 +0000
commit29477a8f8bdf972fbe854ce019d6f85f07f3777e (patch)
tree0bb80411cb9a52a47a59b1413c70b68872487ecb /bin
parentTry harder to figure out what OS we are running (diff)
downloadportage-multirepo-29477a8f8bdf972fbe854ce019d6f85f07f3777e.tar.gz
portage-multirepo-29477a8f8bdf972fbe854ce019d6f85f07f3777e.tar.bz2
portage-multirepo-29477a8f8bdf972fbe854ce019d6f85f07f3777e.zip
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml.
svn path=/main/trunk/; revision=7653
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dohtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/dohtml b/bin/dohtml
index 917ca1b5..5087ca43 100755
--- a/bin/dohtml
+++ b/bin/dohtml
@@ -14,8 +14,8 @@
# Detailed usage:
# dohtml <list-of-files>
# - will install the files in the list of files (space-separated list) into
-# /usr/share/doc/${PF}/html, provided the file ends in .html, .png, .jpg
-# or .css
+# /usr/share/doc/${PF}/html, provided the file ends in .htm, .html, .css,
+# .js, ,gif, .jpeg, .jpg, or .png.
# dohtml -r <list-of-files-and-directories>
# - will do as 'dohtml', but recurse into all directories, as long as the
# directory name is not CVS
@@ -80,7 +80,8 @@ class OptionsClass:
if os.environ.has_key("_E_DOCDESTTREE_"):
self.DOCDESTTREE = os.environ["_E_DOCDESTTREE_"]
- self.allowed_exts = [ 'png', 'gif', 'html', 'htm', 'jpg', 'css', 'js' ]
+ self.allowed_exts = [ 'htm', 'html', 'css', 'js',
+ 'gif', 'jpeg', 'jpg', 'png' ]
self.allowed_files = []
self.disallowed_dirs = [ 'CVS' ]
self.recurse = False