From f69802b3d89fbcd144377356f0ec4881570a0a75 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 16 Mar 2011 08:25:36 +0100 Subject: [PATCH] s/md5sum/cksum/g Signed-off-by: Nico Schottelius --- conf/type/__file/explorer/{md5sum => cksum} | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) rename conf/type/__file/explorer/{md5sum => cksum} (82%) diff --git a/conf/type/__file/explorer/md5sum b/conf/type/__file/explorer/cksum similarity index 82% rename from conf/type/__file/explorer/md5sum rename to conf/type/__file/explorer/cksum index 4ac0e1b9..6bcf9cd0 100755 --- a/conf/type/__file/explorer/md5sum +++ b/conf/type/__file/explorer/cksum @@ -27,22 +27,9 @@ else destination="/$__object_id" fi -os="$(cat $__global/explorer/os)" - -case "$os" in - macosx) - md5sum="md5" - ;; - - *) - md5sum="md5sum" - ;; -esac - -# No output if file does not exist - does definitely not match the md5sum :-) if [ -e "$destination" ]; then if [ -f "$destination" ]; then - $md5sum < "$destination" + cksum < "$destination" else echo "NO REGULAR FILE" fi