saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-08-17 21:16:24 +02:00
committed by Hans Wurst
parent 8a3ba2ad7e
commit 6efe594755
4 changed files with 8 additions and 22 deletions

View File

@@ -3,23 +3,13 @@
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
source "/etc/paludis/hooks/set_portdir.bash"
# you may change this to only update cache of specific overlays
overlay_list=(
arx-libertatis
desktop-overlay
dotnet
games-overlay
haskell
hasufell-overlay
libressl
media-overlay
prism-overlay
qt
torbrowser
tox-overlay
$(${CAVE} print-repositories | grep -vE '(^gentoo$|^installed$|^installed-unpackaged$|^layman$|^paludis-overlay$|^repository$)')
)
ebegin "Syncing metadata cache for gentoo repository"
#rsync -avPq rsync://rsync.gentoo.org/gentoo-portage/metadata/md5-cache/ "${PORTDIR}"/metadata/md5-cache/
rsync -avPq rsync://rsync.gentoo.org/gentoo-portage/metadata/md5-cache/ "${PORTDIR}"/metadata/md5-cache/
egencache --jobs=$(nproc) --repo=gentoo --update --update-use-local-desc
eend $?