README: Fix update script

This commit is contained in:
Daniel Friesel 2019-04-07 16:54:33 +02:00
parent 8096c33c00
commit 9225a82c66

View file

@ -65,7 +65,7 @@ or not.
```
git pull
chmod -R a+rX . # only needed if travelynx is running under a different user
if perl index.pl database has-current-schema; then
if perl index.pl database has-current-schema | grep -Fq yes; then
systemctl reload travelynx
else
systemctl stop travelynx