aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2017-10-12 11:33:49 -0300
committerLucas C. Villa Real <lucasvr@gmail.com>2017-10-12 11:33:49 -0300
commitfd2a71afa250971640da685604c7f17ef1897560 (patch)
tree9a7f5cb140de390c9fbfd899a24e2b5cf6c2704e
parent9cb4c43c2d7015ccc78db47b3fd3446f769de6ea (diff)
downloadThirdPartyInstallers-fd2a71afa250971640da685604c7f17ef1897560.tar.xz
Delete temporary archives after installing them.
-rwxr-xr-xbin/ThirdPartyInstaller3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ThirdPartyInstaller b/bin/ThirdPartyInstaller
index ba2dcdc..bb57445 100755
--- a/bin/ThirdPartyInstaller
+++ b/bin/ThirdPartyInstaller
@@ -501,7 +501,6 @@ flatteninglevel=$(determine_flattening_level)
for i in $(seq 0 $inputfilescount)
do
inputfile="${inputfiles[$i]}"
- inputfile_is_tmpfile=$(Is_URL "${inputfiles_[$i]}")
Log_Normal "Processing $(basename $inputfile)"
prepare_program_entry "$inputfile"
@@ -512,7 +511,7 @@ do
populate_resources "$inputfile"
Quiet popd
- if [ "$inputfile_is_tmpfile" ]
+ if Is_URL "${inputfiles_[$i]}"
then rm -f -- "$inputfile"
fi
done