mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
now downloads interim files to working directory
This commit is contained in:
@@ -8,7 +8,7 @@ downloadURL=${1?:"need to provide a download URL"}
|
|||||||
|
|
||||||
|
|
||||||
# create temporary working directory
|
# create temporary working directory
|
||||||
tmpDir=$(mktemp -d )
|
tmpDir=$(dirname $0 )
|
||||||
|
|
||||||
# change directory to temporary working directory
|
# change directory to temporary working directory
|
||||||
echo "Changing directory to $tmpDir"
|
echo "Changing directory to $tmpDir"
|
||||||
@@ -82,9 +82,9 @@ fi
|
|||||||
echo " ;;"
|
echo " ;;"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [ -e "${tmpDir}" ]; then
|
#if [ -e "${tmpDir}" ]; then
|
||||||
#echo "deleting tmp dir"
|
# #echo "deleting tmp dir"
|
||||||
rm -rf "${tmpDir}"
|
# rm -rf "${tmpDir}"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user