Add check for installed libfaketime

This commit is contained in:
Thomas Lauf 2019-03-02 16:55:47 +01:00
parent 5c6bd53e02
commit b248f13172

View file

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
if ! command -v faketime >/dev/null 2>&1 ; then
echo "timemachine requires libfaketime to be installed!"
exit 1
fi
# parse options/arguments # parse options/arguments
until [[ -z "${1}" ]] ; do until [[ -z "${1}" ]] ; do
case "${1}" in case "${1}" in