mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Add check for installed libfaketime
This commit is contained in:
parent
5c6bd53e02
commit
b248f13172
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue