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:24:32 +0100 |
commit | 7cb5d851cd2f367066fe9d805f9dea904a4494c2 (patch) | |
tree | 75d626a0e5526154bb182dac3e4c7c504b20d3b4 /scripts/hook-metadata | |
parent | as29/base: Version bump (diff) | |
download | portage-7cb5d851cd2f367066fe9d805f9dea904a4494c2.tar.xz |
metadata: Drop cache since as29/base now does it
Diffstat (limited to 'scripts/hook-metadata')
-rwxr-xr-x | scripts/hook-metadata | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/hook-metadata b/scripts/hook-metadata index c38c9c1a..8011c7f1 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,13 +13,11 @@ ROOT="$(git rev-parse --show-toplevel)" REPO="$(< ${ROOT}/profiles/repo_name)" -if [[ "${REPO}" == "gentoo" ]] ; then +if [[ "${REPO}" != "as29" ]] ; then exit 0 fi egencache --repo="${REPO}" \ - --update \ --update-use-local-desc git add -vA "${ROOT}/profiles/use.local.desc" -git add -vA "${ROOT}/metadata/md5-cache" |