pentoo-updater: update c++ abi per news item

This commit is contained in:
Rick Farina (Zero_Chaos) 2017-04-25 16:17:57 -04:00
parent 41fdcd425c
commit 0f26ee6019
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -1,5 +1,5 @@
#!/bin/sh
source /etc/profile
. /etc/profile
env-update
if [ -n "${clst_target}" ]; then #we are in catalyst
@ -44,6 +44,9 @@ if [ -n "$(find /usr/include/python3.{3,4,5} -type f 2> /dev/null)" ]; then
emerge -1v --usepkg=n --buildpkg=y /usr/include/python3.{3,4,5}
fi
#taken from news item gcc-5-new-c++11-abi
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
if [ -n "${clst_target}" ]; then
emerge @changed-deps || safe_exit
fi
@ -54,12 +57,6 @@ perl-cleaner --ph-clean --modules -- --buildpkg=y || safe_exit
emerge --deep --update --newuse -kb --changed-use --newrepo @world || safe_exit
if [ -x /usr/sbin/python-updater ]; then
python-updater -- --buildpkg=y || safe_exit
fi
emerge --deep --update --newuse -kb --changed-use --newrepo @world || safe_exit
#if we are in catalyst, update the extra binpkgs
if [ -n "${clst_target}" ]; then
#add kde and mate use flags