summaryrefslogtreecommitdiff
path: root/hooks/post-update
diff options
context:
space:
mode:
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}