From dbeecc5f86ae21f7615e824c979e3dd830f285bd Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 28 Dec 2012 09:36:36 +0100 Subject: [PATCH] [scripts] always remove man-pages in SpinBase --- scripts/inner_source_chroot_update.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/inner_source_chroot_update.sh b/scripts/inner_source_chroot_update.sh index b763bbc..3c4f794 100755 --- a/scripts/inner_source_chroot_update.sh +++ b/scripts/inner_source_chroot_update.sh @@ -9,6 +9,18 @@ if [ -d "/usr/portage/licenses" ]; then export ACCEPT_LICENSE="$(ls /usr/portage/licenses -1 | xargs)" fi +PACKAGES_TO_REMOVE=( + "app-i18n/man-pages-da" + "app-i18n/man-pages-de" + "app-i18n/man-pages-fr" + "app-i18n/man-pages-it" + "app-i18n/man-pages-nl" + "app-i18n/man-pages-pl" + "app-i18n/man-pages-ro" + "app-i18n/man-pages-ru" + "app-i18n/man-pages-zh_CN" +) + safe_run() { local updated=0 for ((i=0; i < 42; i++)); do @@ -34,6 +46,7 @@ safe_run equo update || exit 1 export ETP_NOINTERACTIVE=1 safe_run equo upgrade --fetch || exit 1 equo upgrade || exit 1 +equo remove "${PACKAGES_TO_REMOVE[@]}" || exit 1 echo "-5" | equo conf update # check if a kernel update is needed