summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:07:38 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:07:38 +0200
commit003b949208a116230d5df03189362535de217b61 (patch)
treed3007767476ce5a178b1fe730d36538c17886d2e /bin/pkg
parent0581e15e9cb4d9c79ef0d84ded1d28601c4b461f (diff)
bin/pkg: nothing
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg8
1 files 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"
}