Browse Source

recover from interruption by removing an old sub-subdir in tmp

master
poikilos 4 years ago
parent
commit
0aca1c8fcd
  1. 3
      update-minetest-linux64.sh

3
update-minetest-linux64.sh

@ -175,6 +175,9 @@ if [ -z "$MY_TMP" ]; then
fi
mkdir -p "$MY_TMP"
EXTRACTED_PATH="$MY_TMP/$EXTRACTED_NAME"
if [ -d "$EXTRACTED_PATH" ]; then
rm -Rf "$EXTRACTED_PATH" || customExit "Deleting the old $EXTRACTED_PATH failed."
fi
exitAndDeleteDownload(){
if [ -f "$DL_PATH" ]; then

Loading…
Cancel
Save