From 21224ce82f95b12d054c38908046764ee2872d8a Mon Sep 17 00:00:00 2001 From: augustss Date: Thu, 28 Apr 2005 15:11:59 +0000 Subject: Add album, a web photo album generator. --- www/album/patches/patch-aa | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www/album/patches/patch-aa (limited to 'www/album/patches') diff --git a/www/album/patches/patch-aa b/www/album/patches/patch-aa new file mode 100644 index 00000000000..2fd3673b2ec --- /dev/null +++ b/www/album/patches/patch-aa @@ -0,0 +1,24 @@ +*** album.orig Wed Mar 9 14:59:01 2005 +--- album Wed Mar 9 15:01:17 2005 +*************** +*** 1308,1318 **** + + unless ($themes) { + # Try to guess path +! $themes = '/var/www/html' unless -x $themes; +! $themes = '/var/www' unless -x $themes; +! $themes = '/home/httpd' unless -x $themes; +! $themes = '/home/http' unless -x $themes; +! $themes = "$ENV{HOME}/public_html" unless -x $themes; + $themes = '' unless -x $themes; + $themes .= "/Themes" if $themes; + } +--- 1308,1314 ---- + + unless ($themes) { + # Try to guess path +! $themes = '/usr/pkg/share/httpd/htdocs/Album' unless -x $themes; +! $themes = '/usr/pkg/share/Album' unless -x $themes; + $themes = '' unless -x $themes; + $themes .= "/Themes" if $themes; + } -- cgit v1.2.3