#!/bin/sh -e

# $Id: rr-localdigest 374 2008-12-14 08:47:32Z joostvb $
# $URL: svn+ssh://svn.debian.org/svn/systraq/trunk/systraq/lib/rr-localdigest $

# Copyright (C) 2001, 2002, 2003, 2004 Joost van Baal
#
# This file is part of systraq.  Systraq is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the License,
# or (at your option) any later version.  You should have received a copy of
# the GNU General Public License along with this file (see COPYING).

# typically /usr/local/var/state/systraq/systraq.sums
if test -r "$ST_LDIGESTS"
then
    echo
    echo 'local file digests'
    ${ST_SUM:-sha256sum} -c "$ST_LDIGESTS" 2>&1 || true
else
    echo ST_LDIGESTS set to non-readable file $ST_LDIGESTS: ignoring
fi

