pentoo-updater: added safety for gcc update

This commit is contained in:
Rick Farina (Zero_Chaos) 2017-04-25 16:22:38 -04:00
parent 0f26ee6019
commit 80f461cec4
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -45,7 +45,7 @@ if [ -n "$(find /usr/include/python3.{3,4,5} -type f 2> /dev/null)" ]; then
fi
#taken from news item gcc-5-new-c++11-abi
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
revdep-rebuild --library 'libstdc++.so.6' -- --buildpkg=y --usepkg=n --exclude gcc
if [ -n "${clst_target}" ]; then
emerge @changed-deps || safe_exit