If corrupted deb is removed, reacquire
This commit is contained in:
@@ -621,9 +621,9 @@ acquire_deb() {
|
|||||||
execute rm "$MC_DEB"
|
execute rm "$MC_DEB"
|
||||||
else
|
else
|
||||||
echo "Using existing DEB: $MC_DEB"
|
echo "Using existing DEB: $MC_DEB"
|
||||||
fi
|
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Define the repositories to check
|
# Define the repositories to check
|
||||||
local repos=(
|
local repos=(
|
||||||
@@ -640,7 +640,7 @@ acquire_deb() {
|
|||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
err "DEB file not found/downloaded"
|
err "DEB file not found/downloaded"
|
||||||
exit 1
|
return 1
|
||||||
done
|
done
|
||||||
|
|
||||||
[[ -f $MC_DEB ]]
|
[[ -f $MC_DEB ]]
|
||||||
|
|||||||
Reference in New Issue
Block a user