aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/update-monomers-db6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/update-monomers-db b/scripts/update-monomers-db
index d34c4baea..28e30333c 100644
--- a/scripts/update-monomers-db
+++ b/scripts/update-monomers-db
@@ -34,7 +34,7 @@ cd ${TMPDIR};
wget http://www.ysbl.york.ac.uk/~garib/refmac/data/refmac_dictionary.tar.gz
-SHA_NEW=$(sha256sum refmac_dictionary.tar.gz)
+SHA_NEW=$(sha256sum refmac_dictionary.tar.gz|awk '{print $1}')
SHA_OLD=$(sed -n -e '/^DIST monomer/p' ${REPO_DOC}/../sci-libs/monomer-db/Manifest | \
tail -n 1 | awk '{print $9}')
@@ -42,5 +42,7 @@ if [[ ${SHA_OLD} == ${SHA_NEW} ]]; then
echo "Nothing to update"
else
echo "bumping to monomer-db-${DATE} ..."
- bump_package
+# bump_package
+ echo ${SHA_OLD}
+ echo ${SHA_NEW}
fi