From: Frank Brehm Date: Thu, 12 Oct 2017 20:26:10 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=6b1e723235912641fbea8ef0cfed2cf203da25f3;p=config%2Fbruni%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/portage/repo.postsync.d/q-reinit b/portage/repo.postsync.d/q-reinit new file mode 100755 index 00000000..0833c66f --- /dev/null +++ b/portage/repo.postsync.d/q-reinit @@ -0,0 +1,10 @@ +#!/bin/sh + +repository_name=$1 +repository_path=$3 + +if [ -n "${repository_name}" ]; then + q ${PORTAGE_QUIET:+-q} --reinitialize="${repository_path}" +fi + +: