about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--core/scripts/backup-ports.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/scripts/backup-ports.sh b/core/scripts/backup-ports.sh
index dfdb55a..3e42c49 100644
--- a/core/scripts/backup-ports.sh
+++ b/core/scripts/backup-ports.sh
@@ -82,6 +82,7 @@ tar rvf ${DEST_ARC}/${BUILD_NAME}-${BUILD_VERSION}.tar.gz \
 cd ${DEST_ARC} && tar -zcpf  ${BUILD_NAME}-${BUILD_VERSION}.tar.gz ${DEST_SYS}/
 
 echo "Creating links to /usr/ports/installed"
+rm -r /usr/ports/installed
 pkg_installed
 
 echo "Creating ports page"