saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-08-26 12:53:42 +02:00 committed by Hans Wurst
parent 167051bf4b
commit 72421525d8
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
# set PORTDIR
source "${PALUDIS_EBUILD_DIR}/die_functions.bash"
PORTDIR="$(${CAVE} print-repository-metadata --format '%v' --raw-name location gentoo)"
if [[ -z ${PORTDIR} || "$(dirname ${PORTDIR})" == "/" ]] ; then