From: Daniel Kahn Gillmor Date: Tue, 7 Apr 2009 01:04:31 +0000 (-0400) Subject: actually check for md5 in the path within file_hash() X-Git-Tag: monkeysphere_0.25~31^2~14 X-Git-Url: https://codewiz.org/gitweb?p=monkeysphere.git;a=commitdiff_plain;h=8a10cedafffa08873508598c9bff0c12e1c5d278 actually check for md5 in the path within file_hash() --- diff --git a/src/share/common b/src/share/common index 1ce07fc..ac0b5d6 100644 --- a/src/share/common +++ b/src/share/common @@ -254,7 +254,7 @@ check_capability() { file_hash() { if type md5sum &>/dev/null ; then md5sum "$1" - elif type lockfile &>/dev/null ; then + elif type md5 &>/dev/null ; then md5 "$1" else failure "Neither md5sum nor md5 are in the path!"