From 46e7d743a8e9eb934780ca748eddfe4cc0d86962 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts') 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 +# (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,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" -- cgit v1.2.3