adding an extra step to run to execut post-run.sh in case the file is present; it's for arbitrary or one-off things that shouldn't really be part of NASG

This commit is contained in:
Peter Molnar 2019-08-12 10:46:46 +01:00
parent 3dd43d4c1d
commit 0c8a72e26e

3
run
View file

@ -9,3 +9,6 @@ if [ ! -f 'keys.py' ]; then
fi
python3 nasg.py "$@"
if [ -f 'post-run.sh' ]; then
bash 'post-run.sh'
fi