commit:     d8bcd6d2ccccd0c7a2fc5769108ac338f2446625
Author:     Brian Dolbec dolsen <dolsen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 16 03:45:24 2018 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 16 03:45:24 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=d8bcd6d2

gkeys-ldap update-seeds.sh: Fix the HAS_UPDATES conditional

 gkeys-ldap/bin/update-seeds.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gkeys-ldap/bin/update-seeds.sh b/gkeys-ldap/bin/update-seeds.sh
index 171052c..41a3ad8 100755
--- a/gkeys-ldap/bin/update-seeds.sh
+++ b/gkeys-ldap/bin/update-seeds.sh
@@ -62,7 +62,7 @@ elif [[ "${FORCE}" == "force" ]] ; then
     HAS_UPDATES=true
 fi
 
-if [[ "${HAS_UPDATES}" ]] ; then
+if [[ ${HAS_UPDATES} == true ]] ; then
     echo " *** Updating old seeds with a new one"
     # copy seeds to gkey-seeds
     echo "  ... cp ${GKEYS_SEEDS} ${API_DIR}/${API_SEEDS}"

Reply via email to