summaryrefslogtreecommitdiff
path: root/hooks/post-update
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:00:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:00:07 +0200
commitdca4023181c1be81f59c04219c37901dfaa12fc0 (patch)
tree8ee9e34caa4f9573f8f8acf1339f5a6a5919def4 /hooks/post-update
parent0944f17d271c4703dee723b46ed715f630a78db7 (diff)
automatically copy docs to .collected
Diffstat (limited to 'hooks/post-update')
-rw-r--r--hooks/post-update7
1 files changed, 4 insertions, 3 deletions
diff --git a/hooks/post-update b/hooks/post-update
index 3369111..2f9dcec 100644
--- a/hooks/post-update
+++ b/hooks/post-update
@@ -1,3 +1,4 @@
-mkdir $PDIR/.links
-mkdir $PDIR/.links/{bin,doc,man,etc,include}
-
+rmdir $PDIR/.links/{bin,doc,man,etc,include}
+rmdir $PDIR/.links
+mkdir $PDIR/.collected
+mkdir $PDIR/.collected/{bin,doc,man,etc,include}