mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
12 lines
178 B
Bash
12 lines
178 B
Bash
|
#!/bin/sh
|
||
|
set -eu
|
||
|
|
||
|
if [ ! -f travelynx.conf ]
|
||
|
then
|
||
|
echo "The configuration file is missing"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
perl index.pl database migrate
|
||
|
|
||
|
exec /usr/local/bin/hypnotoad -f index.pl
|