From: Joey Hess Date: Sat, 3 Oct 2009 19:37:15 +0000 (-0400) Subject: set dependency hash value properly for new dependency types X-Git-Tag: 3.20091017~27^2~130^2~17 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/5c9f65a67294e3e7b2759306c182b7eedc93093d?ds=sidebyside set dependency hash value properly for new dependency types Just "1" won't cut it anymore; we need to list all the dependency types. --- diff --git a/ikiwiki-transition b/ikiwiki-transition index 8a20cf655..c50a748e8 100755 --- a/ikiwiki-transition +++ b/ikiwiki-transition @@ -299,7 +299,7 @@ sub oldloadindex { $pagemtime{$page}=$items{mtime}[0]; $oldlinks{$page}=[@{$items{link}}]; $links{$page}=[@{$items{link}}]; - $depends{$page}={ $items{depends}[0] => 1 } if exists $items{depends}; + $depends{$page}={ $items{depends}[0] => $IkiWiki::DEPEND_CONTENT | $IkiWiki::DEPEND_EXISTS } if exists $items{depends}; $destsources{$_}=$page foreach @{$items{dest}}; $renderedfiles{$page}=[@{$items{dest}}]; $pagecase{lc $page}=$page;