mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
dockersetup: do not set site name if a database file is specified
If a database file is specified we probably want to stick with whatever site name is defined in there and not overwrite it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
f527692c7c
commit
d39929b405
|
@ -708,6 +708,7 @@ if return_code != 0:
|
|||
sys.exit(1)
|
||||
|
||||
if not updatemode:
|
||||
if not dbfile:
|
||||
## Set site name
|
||||
return_code = subprocess.call(['docker-compose', 'run', '--rm', 'layersapp', '/opt/layerindex/layerindex/tools/site_name.py', hostname, 'OpenEmbedded Layer Index'], shell=False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user