thandling of obsolete package logs in orchestrate.sh - amprolla - devuan's apt repo merger
git clone git://parazyd.org/amprolla.git
Log
Files
Refs
README
LICENSE
---
commit 8707f299e5393148e19d336d6f4a2a501c2e610c
parent e8a312cf278e9a9e1ce47add0c384bc988c19e25
Author: parazyd 
Date:   Mon,  6 Nov 2017 12:40:32 +0100

handling of obsolete package logs in orchestrate.sh

Diffstat:
  M orchestrate.sh                      |       3 +++

1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/orchestrate.sh b/orchestrate.sh
t@@ -27,5 +27,8 @@ while true; do
         rsync --delete -raX "$REPO_ROOT"/merged-volatile/* "$REPO_ROOT"/merged-staging
         printf "done!\n"
 
+        # handle obsolete package logs
+        cat "$REPO_ROOT"/log/*-oldpackages.txt | sort | uniq > "$REPO_ROOT"/log/oldpackages.txt
+
         sleep 3600
 done