]> git.deb.at Git - deb/packages.git/blobdiff - bin/daily
newpkg_info: Fix handling of removed packages
[deb/packages.git] / bin / daily
index f9e8853f77e64f1511c73c170464190a8268e464..0a67587bc36d49135f9ff2c73848ac1464077b95 100755 (executable)
--- a/bin/daily
+++ b/bin/daily
@@ -39,7 +39,15 @@ then
     run-parts --verbose $topdir/cron.d >> $log 2>&1
     rm -f "${files}/cron.lock"
 else
-    echo "couldn't aquire lock file in due time" >> $log
+    echo "couldn't aquire cron lock file in due time" >> $log
 fi
+date >> $log
 
+if lockfile -600 -r5 "${files}/changelogs.lock" >> $log 2>&1
+then
+    $topdir/bin/extract_changelogs >> $log 2>&1
+    rm -f "${files}/changelogs.lock"
+else
+    echo "couldn't aquire changelogs lock file in due time" >> $log
+fi
 date >> $log