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
15 lines
391 B
Bash
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.
|
|
|
|
|