mirror of
https://github.com/datarhei/core.git
synced 2025-10-08 17:30:52 +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
|