aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-09 21:19:30 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-09 21:19:30 +0000
commit9b71522f012d8428fafa34361af92b3975b586b6 (patch)
treefd29e159ea4a3bcece14a59e9526d0ce7b3fa207
parenta691e38cf594fadb1a783ce093c9a491ba607730 (diff)
downloadsimplepkg-9b71522f012d8428fafa34361af92b3975b586b6.tar.gz
simplepkg-9b71522f012d8428fafa34361af92b3975b586b6.tar.bz2
Adding TODO at common.sh
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@816 04377dda-e619-0410-9926-eae83683ac58
-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 ./