修改输出配置的目录和文件名
This commit is contained in:
parent
716c39ab53
commit
e6b8739500
|
@ -218,7 +218,7 @@ class UpdateList():
|
|||
self.GROUPS_JSON_PKG = 'kylin-update-desktop-config'
|
||||
|
||||
self.INPUT_CONFIG_PATH = '/usr/share/kylin-update-desktop-config/data'
|
||||
self.OUTPUT_CONFIG_PATH = os.getenv('HOME') + '/.config' +'/update_manager_config'
|
||||
self.OUTPUT_CONFIG_PATH = '/var/lib/kylin-system-upgrade'
|
||||
|
||||
self.IMPORTANT_LIST_PATH="/var/lib/kylin-software-properties/template/important.list"
|
||||
|
||||
|
@ -543,7 +543,7 @@ class UpdateList():
|
|||
output_json = {}
|
||||
|
||||
#FIXME: 确定输出文件的文件名 以及放置位置
|
||||
output_config_name = self.OUTPUT_CONFIG_PATH + '/' + data['package'] + '_output.json'
|
||||
output_config_name = self.OUTPUT_CONFIG_PATH + '/' + data['package']
|
||||
|
||||
#4、添加一些基础信息
|
||||
groups_base_info.update({"package":data['package']})
|
||||
|
|
Loading…
Reference in New Issue