diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2016-09-03 21:15:52 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2016-09-03 22:39:04 +0100 |
commit | 46e7d743a8e9eb934780ca748eddfe4cc0d86962 (patch) | |
tree | b766a0c21d04ba0351d64f877950f0d5e65decaf /scripts/hook-metadata | |
parent | as29/base: Version bump (diff) | |
download | portage-46e7d743a8e9eb934780ca748eddfe4cc0d86962.tar.xz |
metadata: Drop cache since as29/base now does it
Diffstat (limited to 'scripts/hook-metadata')
-rwxr-xr-x | scripts/hook-metadata | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/hook-metadata b/scripts/hook-metadata index c38c9c1a..fd5d4244 100755 --- a/scripts/hook-metadata +++ b/scripts/hook-metadata @@ -1,6 +1,6 @@ #!/bin/bash # -# (c) 2014-2015 - Bertrand Jacquin <bertrand@jacquin.bzh> +# (c) 2014-2016 - Bertrand Jacquin <bertrand@jacquin.bzh> # # Called by git-commit with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if @@ -13,7 +13,7 @@ ROOT="$(git rev-parse --show-toplevel)" REPO="$(< ${ROOT}/profiles/repo_name)" -if [[ "${REPO}" == "gentoo" ]] ; then +if [[ "${REPO}" != "as29" ]] ; then exit 0 fi @@ -22,4 +22,3 @@ egencache --repo="${REPO}" \ --update-use-local-desc git add -vA "${ROOT}/profiles/use.local.desc" -git add -vA "${ROOT}/metadata/md5-cache" |