about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-03-02 20:15:50 +0000
committerSilvino Silva <silvino@bk.ru>2019-03-02 20:15:50 +0000
commitd3ff0010a7b7dbd1cf055d04421d91954201efa0 (patch)
tree6b5eada27c8479f73931c2df6ffe31a60421ab89
parent1eed6373ec0acf9bf7167dd1fa851a6db95f660d (diff)
downloaddoc-d3ff0010a7b7dbd1cf055d04421d91954201efa0.tar.gz
fix core script backup-ports.sh remove /usr/ports/installed
-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"