molecules/scripts/remaster_generic_inner_chroot_script.sh

13 lines
344 B
Bash
Raw Normal View History

#!/bin/sh
export FORCE_EAPI=2
2011-07-21 13:14:09 +02:00
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" \
-e "/^product/p" -e "/^official-repository-id/p" -e "/^differential-update/p" \
-i /etc/entropy/repositories.conf