aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-12-25 10:02:54 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-12-25 10:02:54 -0800
commit55fca6da3526f018d0dfb338d861c40c3f9c3e5c (patch)
tree21289d9697fb28bbd0189fde0ecc6502dbf8ce4e /gkeys-ldap
parentgkeys: Copy sample conf to gkeys.conf (diff)
downloadgentoo-keys-55fca6da3526f018d0dfb338d861c40c3f9c3e5c.tar.gz
gentoo-keys-55fca6da3526f018d0dfb338d861c40c3f9c3e5c.tar.bz2
gentoo-keys-55fca6da3526f018d0dfb338d861c40c3f9c3e5c.zip
gkeys-ldap: Update update-seeds.{sh,conf} for name changes
Diffstat (limited to 'gkeys-ldap')
-rwxr-xr-xgkeys-ldap/bin/update-seeds.sh6
-rw-r--r--gkeys-ldap/etc/update-seeds.conf6
2 files changed, 6 insertions, 6 deletions
diff --git a/gkeys-ldap/bin/update-seeds.sh b/gkeys-ldap/bin/update-seeds.sh
index 94852a1..2d67c0e 100755
--- a/gkeys-ldap/bin/update-seeds.sh
+++ b/gkeys-ldap/bin/update-seeds.sh
@@ -28,7 +28,7 @@ fi
echo " *** Fetching new seeds from LDAP"
cd ${GKEYS_DIR}
-gkey-ldap -c ${GKEYS_CONF} updateseeds || die "Seed file generation failed... aborting"
+gkeys-ldap -c ${GKEYS_CONF} updateseeds || die "Seed file generation failed... aborting"
echo " *** Checking if seed files are up-to-date"
if ! diff -q ${GKEYS_DIR}/${GKEYS_SEEDS} ${API_DIR}/${API_SEEDS} > /dev/null ;then
@@ -46,8 +46,8 @@ gkeys -c ${GKEYS_CONF} sign -n ${GKEYS_SIGN} -F ${API_DIR}/${API_SEEDS} || die "
echo "Committing changes to api repo..."
cd ${API_DIR}
-git add ${API_SEEDS} || die " *** Failed to add modified developers.seeds file"
-git add ${API_SEEDS}.${GKEYS_SIG} || die " *** Failed to add developer.seeds.sig file"
+git add ${API_SEEDS} || die " *** Failed to add modified ${GKEYS_SEEDS} file"
+git add ${API_SEEDS}.${GKEYS_SIG} || die " *** Failed to add ${GKEYS_SEEDS}.sig file"
git commit -m "${GKEYS_COMMIT_MSG}" || die " *** Failed to commit updates"
git push origin master || die " *** git push failed"
diff --git a/gkeys-ldap/etc/update-seeds.conf b/gkeys-ldap/etc/update-seeds.conf
index 71fda58..94aff1a 100644
--- a/gkeys-ldap/etc/update-seeds.conf
+++ b/gkeys-ldap/etc/update-seeds.conf
@@ -1,11 +1,11 @@
#!/bin/sh
export API_DIR="/var/lib/gkeys/api"
-export API_SEEDS="files/gentoo-keys/seeds/developer.seeds"
+export API_SEEDS="files/gentoo-keys/seeds/gentoo-devs.seeds"
export API_URL="git+ssh://git@git.gentoo.org/proj/api.git"
-export GKEYS_COMMIT_MSG="Gentoo-keys: Update developer.seeds"
+export GKEYS_COMMIT_MSG="Gentoo-keys: Update gentoo-devs.seeds"
export GKEYS_CONF="/var/lib/gkeys/gkeys.conf"
export GKEYS_DIR="/var/lib/gkeys"
-export GKEYS_SEEDS="seeds/developer.seeds"
+export GKEYS_SEEDS="seeds/gentoo-devs.seeds"
export GKEYS_SIG="sig"
export GKEYS_SIGN="gkeys"