fix: Typos and missing files

This commit is contained in:
Sayantan Santra 2023-07-27 15:21:22 -05:00
parent 7b93c26540
commit 807dc33466
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -95,7 +95,7 @@ echo "$(date) | Starting check..."
if [[ $2 != buildonly ]]; then
# Create a backup of versions
cp verions.json versions.json.old
[ -f versions.json ] && cp versions.json versions.json.old
# Fetch all the dependencies
try=0
while :; do
@ -269,7 +269,7 @@ if [ $error == 1 ]; then
if [[ $2 != buildonly ]]; then
mv versions.json versions.json.fail
mv versions.json.old versions.json
[ -f versions.json.old ] && mv versions.json.old versions.json
fi
exit 4
fi