summaryrefslogtreecommitdiff
path: root/scripts/hook-metadata
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2015-08-22 18:37:27 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2015-08-22 18:37:59 +0100
commitc8b481d75c41e63e043fc2dfa7c40d659a0e81e9 (patch)
treeb33c53661acec2df1d5e606cecf862f611c693fe /scripts/hook-metadata
parentprofiles/common: Enable pcap USE flag for net-firewall/iptables (diff)
downloadportage-c8b481d75c41e63e043fc2dfa7c40d659a0e81e9.tar.xz
scripts/hooks: Ignore gentoo repo
Diffstat (limited to 'scripts/hook-metadata')
-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