[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
|
export FORCE_EAPI=2
|
||||||
updated=0
|
updated=0
|
||||||
for ((i=0; i < 6; i++)); do
|
for ((i=0; i < 42; i++)); do
|
||||||
equo update && {
|
equo update && {
|
||||||
updated=1;
|
updated=1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if [ ${i} -gt 6 ]; then
|
||||||
|
sleep 3600 || exit 1
|
||||||
|
else
|
||||||
sleep 1200 || exit 1
|
sleep 1200 || exit 1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
if [ "${updated}" = "0" ]; then
|
if [ "${updated}" = "0" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -11,7 +11,7 @@ fi
|
|||||||
|
|
||||||
export FORCE_EAPI=2
|
export FORCE_EAPI=2
|
||||||
updated=0
|
updated=0
|
||||||
for ((i=0; i < 12; i++)); do
|
for ((i=0; i < 42; i++)); do
|
||||||
equo update && {
|
equo update && {
|
||||||
updated=1;
|
updated=1;
|
||||||
break;
|
break;
|
||||||
|
@ -8,7 +8,7 @@ rm -f /var/run/entropy/entropy.lock
|
|||||||
|
|
||||||
export FORCE_EAPI=2
|
export FORCE_EAPI=2
|
||||||
updated=0
|
updated=0
|
||||||
for ((i=0; i < 12; i++)); do
|
for ((i=0; i < 42; i++)); do
|
||||||
equo update && {
|
equo update && {
|
||||||
updated=1;
|
updated=1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user