From 710b4ca342ab3e30ba1bcecc1d7e86ce1d18dc52 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 16 Feb 2009 18:15:41 -0600
Subject: remove the old pkg db before generating a new one.

---
 build_tools/bin/update_db_repo.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build_tools/bin/update_db_repo.sh b/build_tools/bin/update_db_repo.sh
index 27a594b..c4d38cf 100755
--- a/build_tools/bin/update_db_repo.sh
+++ b/build_tools/bin/update_db_repo.sh
@@ -17,5 +17,7 @@ echo " --------------------------"
 echo "updating database for $REPO"
 echo " --------------------------"
 pwd
+	#forcefully remove the old db to start clean
+	rm -f $REPO.db.tar.gz
 	repo-add -q $REPO.db.tar.gz *.pkg.tar.gz
 cd -
-- 
cgit v0.12