aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index f1879c1..de3f375 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -1354,6 +1354,8 @@ function update_md5_checksum {
if [ ! -f CHECKSUMS.md5 ]; then
gen_md5_checksums .
else
+ # TODO: in case of packages, must remove also existing entries
+ # (including the ones with different extensions)
# remove the old entry and add a new one
sed -i "/ \.*\/*$(regexp_slash $file)$/d" CHECKSUMS.md5
file="`echo $file | sed -e 's/\.*\/*//'`" # remove additional ./