ltcp/bericht/check_cmds.sh

13 lines
195 B
Bash
Raw Normal View History

#!/bin/bash
NEEDED_COMMANDS="rsync latexmk"
for cmd in ${NEEDED_COMMANDS} ; do
if ! command -v ${cmd} &> /dev/null ; then
echo Please install ${cmd}!
exit -1
fi
done
touch .cmd_ok