[script/post-upgrade] update the machine each time

This commit is contained in:
mudler
2015-11-12 17:30:19 +01:00
parent a958004c92
commit f1c59492f0
+3
View File
@@ -82,6 +82,9 @@ PACKAGES_TO_ADD=(
rsync -av -H -A -X --delete-during "rsync://rsync.at.gentoo.org/gentoo-portage/licenses/" "/usr/portage/licenses/"
ls /usr/portage/licenses -1 | xargs -0 > /etc/entropy/packages/license.accept
# upgrading machine
equo up && equo u
# Handling install/removal of packages specified in env
equo rm --deep --configfiles --force-system "${PACKAGES_TO_REMOVE[@]}"
equo i "${PACKAGES_TO_ADD[@]}"