summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/hook-metadata4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/hook-metadata b/scripts/hook-metadata
index 66eac9ab..c38c9c1a 100755
--- a/scripts/hook-metadata
+++ b/scripts/hook-metadata
@@ -13,6 +13,10 @@
ROOT="$(git rev-parse --show-toplevel)"
REPO="$(< ${ROOT}/profiles/repo_name)"
+if [[ "${REPO}" == "gentoo" ]] ; then
+ exit 0
+fi
+
egencache --repo="${REPO}" \
--update \
--update-use-local-desc