mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-06 12:59:00 -05:00
Added checking if requested to restore backup from pre-UDM version and setting db versions to zero in such case, as version info file (called backup.json in legacy backups) doesn't contain info about versions.
8 lines
235 B
Lua
8 lines
235 B
Lua
local consts = {}
|
|
|
|
consts.version_file = "version.json"
|
|
consts.legacy_version_file = "backup.json" -- Pre-UDM backup package had version.json file named as backup.json
|
|
consts.indexer_cache_file = ".directory_is_indexed"
|
|
|
|
return consts
|