Rebuild preserved packages if needed
This commit is contained in:
parent
646f1390c1
commit
15175fb0a5
|
@ -23,6 +23,11 @@ if [ "$(grep '\[ebuild U' ${TMP_FILE})" != '' ]; then
|
||||||
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then
|
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then
|
||||||
restart-services --no-color >> ${MAIL}
|
restart-services --no-color >> ${MAIL}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! [ -z "$(grep -v '{}' /var/lib/portage/preserved_libs_registry)" ]; then
|
||||||
|
emerge -v @preserved-rebuild
|
||||||
|
fi
|
||||||
|
|
||||||
emerge -p --depclean --with-bdeps\=y >> ${MAIL}
|
emerge -p --depclean --with-bdeps\=y >> ${MAIL}
|
||||||
|
|
||||||
eix-test-obsolete \
|
eix-test-obsolete \
|
||||||
|
|
Loading…
Reference in a new issue