From 7cb5d851cd2f367066fe9d805f9dea904a4494c2 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 3 Sep 2016 21:15:52 +0100 Subject: metadata: Drop cache since as29/base now does it --- scripts/hook-metadata | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts/hook-metadata') 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 +# (c) 2014-2016 - Bertrand Jacquin # # 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" -- cgit v1.2.3