Files
assaultcube-/source/dev_tools/generate_md5_checksums.sh
T
ac-stef fdb7dbd243 new script to check all parts of an installation
also stripped assaultcube.sh, server.sh and install_or_remove_menuitem.sh
of unnecessary or just wrong stuff

added script to generate checksum file packages/misc/checksums_md5.txt,
which is used by check_install.sh to look for missing and modified files
2015-01-18 14:48:47 +01:00

15 lines
391 B
Bash

#!/bin/bash
#
# update packages/misc/checksums_md5.txt
#
# (this script needs to be in source/dev_tools
cd $(dirname "$(readlink -f "${0}")")
cd ../.. # get to the base dir of the installation
echo Generating checksums...
find [A-z]* -type f -print0 | xargs -0 md5sum | fgrep -v checksums_md5 | fgrep -v " source/" | fgrep -v "gitignore" > packages/misc/checksums_md5.txt
echo Done.