mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
14 lines
293 B
Bash
Executable File
14 lines
293 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# First run the import program. It will read the db.dir from the config file in order to
|
|
# find an old v1.json. This will be converted to the new db format.
|
|
|
|
./bin/import
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
# Now run the core with the possibly converted configuration.
|
|
|
|
./bin/core
|