[scripts] fix subshell drama
This commit is contained in:
parent
c2bdbb9334
commit
1756f52a5c
@ -4,7 +4,11 @@ env-update
|
|||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
export FORCE_EAPI=2
|
export FORCE_EAPI=2
|
||||||
equo update || ( sleep 1200 && equo update ) || exit 1
|
equo update
|
||||||
|
if [ "${?}" != "0" ]; then
|
||||||
|
sleep 1200 || exit 1
|
||||||
|
equo update || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# unmask apache with worker MPM
|
# unmask apache with worker MPM
|
||||||
equo unmask www-servers/apache[threads]
|
equo unmask www-servers/apache[threads]
|
||||||
|
@ -12,7 +12,11 @@ fi
|
|||||||
|
|
||||||
export ETP_NOINTERACTIVE=1
|
export ETP_NOINTERACTIVE=1
|
||||||
export FORCE_EAPI=2
|
export FORCE_EAPI=2
|
||||||
equo update || ( sleep 1200 && equo update ) || exit 1
|
equo update
|
||||||
|
if [ "${?}" != "0" ]; then
|
||||||
|
sleep 1200 || exit 1
|
||||||
|
equo update || exit 1
|
||||||
|
fi
|
||||||
equo upgrade || exit 1
|
equo upgrade || exit 1
|
||||||
echo "-5" | equo conf update
|
echo "-5" | equo conf update
|
||||||
rm -rf /var/lib/entropy/client/packages
|
rm -rf /var/lib/entropy/client/packages
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export FORCE_EAPI=2
|
export FORCE_EAPI=2
|
||||||
equo update || ( sleep 1200 && equo update ) || exit 1
|
equo update
|
||||||
|
if [ "${?}" != "0" ]; then
|
||||||
|
sleep 1200 || exit 1
|
||||||
|
equo update || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# disable all mirrors but GARR
|
# disable all mirrors but GARR
|
||||||
sed -n -e "/pkg.sabayon.org/p" -e "/garr.it/p" -e "/^branch/p" \
|
sed -n -e "/pkg.sabayon.org/p" -e "/garr.it/p" -e "/^branch/p" \
|
||||||
|
Loading…
Reference in New Issue
Block a user