确定配置文件的位置 提供给自动更新

This commit is contained in:
wangsong 2021-11-05 15:17:26 +08:00
parent dde9a41462
commit 89bf80cb95
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class UpdateList():
def _make_white_config(self,cache,upgrade_data):
import configparser
try:
WHITE_LIST_PATH = '/tmp/example.conf'
WHITE_LIST_PATH = OUTPUT_CONFIG_PATH + 'update-white-config.conf'
config = configparser.ConfigParser()
pkgs_install,pkgs_upgrade = self._make_pkgs_list(cache,upgrade_data.upgrade_groups_pkgs,upgrade_data.upgrade_groups,upgrade_data.single_pkgs)