summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild_tools/bin/update_db_repo.sh2
1 files changed, 2 insertions, 0 deletions
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 -