neb/tools/repo/skel-sum-update.sh

7 lines
188 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# creates sum of the directory STRUCTURE!!
[ -f "skel/etc/ixvd/skel-sum.txt" ] || echo "none" > skel/etc/ixvd/skel-sum.txt
find skel | sha256sum > skel/etc/ixvd/skel-sum.txt