From 92fc7220672c35e3a6f076425335097e715c2848 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Fri, 17 Apr 2015 23:45:38 +0000 Subject: [PATCH] pentoo-updater.sh: how on earth was I not running @preserved-rebuild after --depclean until now? --- scripts/pentoo-updater.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/pentoo-updater.sh b/scripts/pentoo-updater.sh index 6b10a5d5d..f026ef115 100755 --- a/scripts/pentoo-updater.sh +++ b/scripts/pentoo-updater.sh @@ -61,6 +61,10 @@ revdep-rebuild.py -i --no-pretend -- --rebuild-exclude dev-java/swt --exclude de emerge --deep --update --newuse -kb --changed-use --newrepo @world || safe_exit #we need to do the clean BEFORE we drop the extra flags otherwise all the packages we just built are removed emerge --depclean || safe_exit +portageq list_preserved_libs / +if [ $? -ne 0 ]; then + emerge @preserved-rebuild --buildpkg=y || safe_exit +fi if [ -n "${clst_target}" ]; then if [ -n "${debugshell}" ]; then