[scripts] increase "equo update" retries to 42
This commit is contained in:
parent
32384949a6
commit
d75faf7fa1
@ -8,12 +8,16 @@ rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
export FORCE_EAPI=2
|
||||
updated=0
|
||||
for ((i=0; i < 6; i++)); do
|
||||
for ((i=0; i < 42; i++)); do
|
||||
equo update && {
|
||||
updated=1;
|
||||
break;
|
||||
}
|
||||
sleep 1200 || exit 1
|
||||
if [ ${i} -gt 6 ]; then
|
||||
sleep 3600 || exit 1
|
||||
else
|
||||
sleep 1200 || exit 1
|
||||
fi
|
||||
done
|
||||
if [ "${updated}" = "0" ]; then
|
||||
exit 1
|
||||
|
@ -11,7 +11,7 @@ fi
|
||||
|
||||
export FORCE_EAPI=2
|
||||
updated=0
|
||||
for ((i=0; i < 12; i++)); do
|
||||
for ((i=0; i < 42; i++)); do
|
||||
equo update && {
|
||||
updated=1;
|
||||
break;
|
||||
|
@ -8,7 +8,7 @@ rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
export FORCE_EAPI=2
|
||||
updated=0
|
||||
for ((i=0; i < 12; i++)); do
|
||||
for ((i=0; i < 42; i++)); do
|
||||
equo update && {
|
||||
updated=1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user