nasg/run
Peter Molnar f196b26b79 - README entry about liveserver rsync+ssh sync
- fail to run if keys.py is missing
- try-catch for sync because it's optional
w
2019-04-10 09:37:24 +01:00

11 lines
222 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
if [ ! -f 'keys.py' ]; then
echo "missing keys.py file; please copy keys.dist.py to keys.py and fill in the needed values inside"
exit 1
fi
python3 nasg.py "$@"