Origin: c53d4d77fccfdd4da51b57d78d86e3347df79dfb Mon Sep 17 00:00:00 2001
From: Don Armstrong <don@donarmstrong.com>
Last-Update: 2014-12-02
Subject: Add changes from 1.0.2-3

git-svn-id: file:///srv/don_svn/deb_pkgs/libapache-gallery-perl/trunk@725 8f7917da-ec0b-0410-a553-b9b0e350d17e
---
 lib/Apache/Gallery.pm                  |  8 ++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 debian/libapache-gallery-perl.postinst

diff --git a/lib/Apache/Gallery.pm b/lib/Apache/Gallery.pm
index c9a78d2..10b4381 100644
--- a/lib/Apache/Gallery.pm
+++ b/lib/Apache/Gallery.pm
@@ -189,7 +189,8 @@ sub handler {
 	unless ($doc_pattern) {
 		$doc_pattern = '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$'
 	}
-	my $img_pattern = $r->dir_config('GalleryImgFile')	unless ($img_pattern) {
+	my $img_pattern = $r->dir_config('GalleryImgFile');
+	unless ($img_pattern) {
 		$img_pattern = '\.(jpe?g|png|tiff?|ppm)$'
 	}
 
@@ -1832,7 +1833,10 @@ Pattern matching the files you want Apache::Gallery to view in the index
 as normal files. All other filetypes will still be served by Apache::Gallery
 but are not visible in the index.
 
-The default is '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$'
+The default is
+
+     '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4
+      |ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$'
 
 =item B<GalleryTTFDir>
 
