summaryrefslogtreecommitdiff
path: root/www/album/patches
diff options
context:
space:
mode:
authoraugustss <augustss>2005-04-28 15:11:59 +0000
committeraugustss <augustss>2005-04-28 15:11:59 +0000
commit21224ce82f95b12d054c38908046764ee2872d8a (patch)
tree6b7bfcdc5c0929722df10d4fc6b8bf7d12f4bd8b /www/album/patches
parentf69c3f0640731ea70901e08f796b3d0dfa738e14 (diff)
downloadpkgsrc-21224ce82f95b12d054c38908046764ee2872d8a.tar.gz
Add album, a web photo album generator.
Diffstat (limited to 'www/album/patches')
-rw-r--r--www/album/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
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;
+ }