diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-08-22 18:37:27 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-08-22 18:37:59 +0100 |
commit | c8b481d75c41e63e043fc2dfa7c40d659a0e81e9 (patch) | |
tree | b33c53661acec2df1d5e606cecf862f611c693fe | |
parent | profiles/common: Enable pcap USE flag for net-firewall/iptables (diff) | |
download | portage-c8b481d75c41e63e043fc2dfa7c40d659a0e81e9.tar.xz |
scripts/hooks: Ignore gentoo repo
-rwxr-xr-x | scripts/hook-metadata | 4 |
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 |