remove md5sum file after successful download
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Mar 2005 23:52:32 +0000 (23:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Mar 2005 23:52:32 +0000 (23:52 +0000)
SVN-Revision: 394

openwrt/scripts/download.pl

index a3a5f09d9e754342ce85de24b7e945bfba679d9a..cbe19348e224ad486657789ca961655a358dfb1e 100755 (executable)
@@ -45,6 +45,7 @@ sub download
        
        unlink "$target/$filename";
        system("mv \"$target/$filename.dl\" \"$target/$filename\"");
+       cleanup();
 }
 
 sub cleanup