mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-27 05:08:35 -06:00
fix: Ignore errors on empty versions file
This commit is contained in:
parent
807dc33466
commit
4bcb625392
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ echo "$(date) | Starting check..."
|
||||||
|
|
||||||
if [[ $2 != buildonly ]]; then
|
if [[ $2 != buildonly ]]; then
|
||||||
# Create a backup of versions
|
# Create a backup of versions
|
||||||
[ -f versions.json ] && cp versions.json versions.json.old
|
[ -f versions.json ] && cp versions.json versions.json.old || touch versions.json
|
||||||
# Fetch all the dependencies
|
# Fetch all the dependencies
|
||||||
try=0
|
try=0
|
||||||
while :; do
|
while :; do
|
||||||
|
|
Loading…
Reference in a new issue