summaryrefslogtreecommitdiffstats
path: root/build_tools/bin
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-17 00:15:41 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-17 00:15:41 (GMT)
commit710b4ca342ab3e30ba1bcecc1d7e86ce1d18dc52 (patch)
tree05bbc25f90eb1cd3271c8fb988e521219df675a3 /build_tools/bin
parentba892b3822bc240e42a305fc67f57480fa1592fd (diff)
downloadlinhes_dev-710b4ca342ab3e30ba1bcecc1d7e86ce1d18dc52.zip
remove the old pkg db before generating a new one.
Diffstat (limited to 'build_tools/bin')
-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 -