#1116 clean download directory

This commit is contained in:
rootzoll
2020-04-26 01:22:57 +02:00
parent 06ce46b408
commit 58e22c1fd6

View File

@@ -114,7 +114,8 @@ if [ "${mode}" = "secure" ]; then
fi
fi
# change into download directory
# clean & change into download directory
sudo rm -r ${downloadDir}/*
cd "${downloadDir}"
# extract the SHA256 hash from the manifest file for the corresponding platform
@@ -182,7 +183,8 @@ if [ "${mode}" = "reckless" ]; then
exit 1
fi
# change into download directory
# clean & change into download directory
sudo rm -r ${downloadDir}/*
cd "${downloadDir}"
# download binary