pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

make sure we move correct index.html



Module Name:	pkgsrc-wip
Committed By:	ast <ast%NetBSD.org@localhost>
Pushed By:	ast
Date:		Sun Oct 30 11:25:42 2016 +0100
Changeset:	3fa595a01ef68f9c6c5ef5eaeb7630c7d11f4b8d

Modified Files:
	fgallery/distinfo
	fgallery/patches/patch-fgallery

Log Message:
make sure we move correct index.html

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3fa595a01ef68f9c6c5ef5eaeb7630c7d11f4b8d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 fgallery/distinfo               | 2 +-
 fgallery/patches/patch-fgallery | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/fgallery/distinfo b/fgallery/distinfo
index ed11a49..ff42662 100644
--- a/fgallery/distinfo
+++ b/fgallery/distinfo
@@ -4,7 +4,7 @@ SHA1 (fgallery-1.8.2.zip) = a4164160f9e7d70fe1b135f11e175e8a470a94f2
 RMD160 (fgallery-1.8.2.zip) = 959854b675a813379e78d8e66022dd2f56e30561
 SHA512 (fgallery-1.8.2.zip) = 1e782b86c74b7cafbb61e46f346b2e42dab9cc3133cf8cedef827f916b5eb29316d86a52020305b56a42fa9d6555423b9d5a175dac4446a0f7f5d538beb9311f
 Size (fgallery-1.8.2.zip) = 158562 bytes
-SHA1 (patch-fgallery) = 8532a72683ea814736b74deac5b70241caf20991
+SHA1 (patch-fgallery) = 88bcc6207da318cdba911d30dbca01538f0d71ff
 SHA1 (patch-view_index.css) = 562587d10dc72d8a22a9577cba9cc63fa9473c86
 SHA1 (patch-view_index.html) = 1e62672675b873d547eb11a1f48bf4af582869c6
 SHA1 (patch-view_index.js) = fb0a55b13d2e9db1170d576dfb28753da7608b5e
diff --git a/fgallery/patches/patch-fgallery b/fgallery/patches/patch-fgallery
index faa5932..486e45f 100644
--- a/fgallery/patches/patch-fgallery
+++ b/fgallery/patches/patch-fgallery
@@ -196,7 +196,7 @@ Pretty print json for easier customization
 +  mkdir($out);
 +  unless ($use_symlinks) {
 +      sys('cp', '-L', '-R', '%%FG_VIEWDIR%%', $out);
-+      sys('mv', '%%FG_VIEWDIR%%/index.html', $out);
++      sys('mv', "$out/view/index.html", $out);
 +  }
 +} elsif(!is_fgallery_dir) {
 +  fatal("output directory exists, but doesn't look like a fgallery template");


Home | Main Index | Thread Index | Old Index