From 9b71522f012d8428fafa34361af92b3975b586b6 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 9 Sep 2009 21:19:30 +0000 Subject: Adding TODO at common.sh git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@816 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trunk') 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 ./ -- cgit v1.2.3