From 003b949208a116230d5df03189362535de217b61 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 3 Jun 2008 19:07:38 +0200 Subject: bin/pkg: nothing --- bin/pkg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/pkg b/bin/pkg index 70353ba..51bd172 100755 --- a/bin/pkg +++ b/bin/pkg @@ -108,10 +108,10 @@ check_deps () { } } -create_docs () { +populate_collected () { cd $PDIR/$1 if ([ -d doc ]) { - cp docs/* $PDIR/.collected/doc/ + cp doc/* $PDIR/.collected/doc/ } if ([ -d bin ]) { for i in bin; { @@ -142,7 +142,7 @@ pkg_add () { check_deps "$1" cd $PDIR/$1 checklinks $CL_OPTIONS - create_docs "$1" + populate_collected "$1" return 0 } @@ -180,7 +180,7 @@ pkg_update () { . hooks/post-update } checklinks $CL_OPTIONS - create_docs "$1" + populate_collected "$1" } else { info "\r \r" } -- cgit v1.2.3