[scripts] fix subshell drama

This commit is contained in:
Fabio Erculiani 2011-07-21 13:14:09 +02:00
parent c2bdbb9334
commit 1756f52a5c
3 changed files with 15 additions and 3 deletions

View File

@ -4,7 +4,11 @@ env-update
source /etc/profile
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
equo unmask www-servers/apache[threads]

View File

@ -12,7 +12,11 @@ fi
export ETP_NOINTERACTIVE=1
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
echo "-5" | equo conf update
rm -rf /var/lib/entropy/client/packages

View File

@ -1,6 +1,10 @@
#!/bin/sh
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
sed -n -e "/pkg.sabayon.org/p" -e "/garr.it/p" -e "/^branch/p" \