diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-02 13:37:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-02 13:37:16 +0000 |
commit | 9d6d9ca36cb278e4aba17b750c726887e7fac78d (patch) | |
tree | 996c5f0401b6f9416cdd0e185178254b30fd3a33 /www/album | |
parent | 3665c495a67a4e3d8c600a0dbf0689e8ff6a568a (diff) | |
download | pkgsrc-9d6d9ca36cb278e4aba17b750c726887e7fac78d.tar.gz |
Convert to standard format, add RCS Id.
XXX: this should _not_ hardcode /usr/pkg
Diffstat (limited to 'www/album')
-rw-r--r-- | www/album/distinfo | 4 | ||||
-rw-r--r-- | www/album/patches/patch-aa | 42 |
2 files changed, 20 insertions, 26 deletions
diff --git a/www/album/distinfo b/www/album/distinfo index d807fd36f51..b8e7c13eaae 100644 --- a/www/album/distinfo +++ b/www/album/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2005/04/28 15:12:00 augustss Exp $ +$NetBSD: distinfo,v 1.2 2005/05/02 13:37:16 wiz Exp $ SHA1 (album.tar.gz) = 8ebf94792c7f98916ffc3624057ac8b3ff682d77 RMD160 (album.tar.gz) = 6532da2c1d4eef8d28923029836ede651d69b732 Size (album.tar.gz) = 99600 bytes -SHA1 (patch-aa) = caf5d961cced6f4b658a8d264e541423ac728aa6 +SHA1 (patch-aa) = a26b5349c8952fd26cef1bf657566a28c2209f4b diff --git a/www/album/patches/patch-aa b/www/album/patches/patch-aa index 2fd3673b2ec..637630e02dd 100644 --- a/www/album/patches/patch-aa +++ b/www/album/patches/patch-aa @@ -1,24 +1,18 @@ -*** 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; - } +$NetBSD: patch-aa,v 1.2 2005/05/02 13:37:16 wiz Exp $ + +--- album.orig 2004-12-31 10:24:04.000000000 +0100 ++++ album +@@ -1308,11 +1308,8 @@ sub install_theme_path { + + 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 = '/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; + } |