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

View File

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