aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki-transition
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-04 20:30:21 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-04 20:30:21 -0400
commitbe032a7b87d1080f1a54327346cb5b40432a056c (patch)
treed945e47c53ca110840491d8fe2cd96515ae5dfe3 /ikiwiki-transition
parentb4c8cc90726cb953898b14f378881bddd224a22c (diff)
downloadikiwiki-be032a7b87d1080f1a54327346cb5b40432a056c.tar
ikiwiki-be032a7b87d1080f1a54327346cb5b40432a056c.tar.gz
rework dependency types code
Simplify, change default content depends number to 1, change interface to make more sense.
Diffstat (limited to 'ikiwiki-transition')
-rwxr-xr-xikiwiki-transition2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki-transition b/ikiwiki-transition
index c50a748e8..1bebb1176 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] => $IkiWiki::DEPEND_CONTENT | $IkiWiki::DEPEND_EXISTS } if exists $items{depends};
+ $depends{$page}={ $items{depends}[0] => $IkiWiki::DEPEND_CONTENT } if exists $items{depends};
$destsources{$_}=$page foreach @{$items{dest}};
$renderedfiles{$page}=[@{$items{dest}}];
$pagecase{lc $page}=$page;