diff --git a/unattended-upgrades/kylin-unattended-upgrade b/unattended-upgrades/kylin-unattended-upgrade index 7ba33d2..8234e6c 100644 --- a/unattended-upgrades/kylin-unattended-upgrade +++ b/unattended-upgrades/kylin-unattended-upgrade @@ -159,7 +159,7 @@ def reload_options_config(): if apt_pkg.config.find_b("APT::Install-Suggests",False) == True: apt_pkg.config.clear("APT::Install-Suggests") if apt_pkg.config.find("Dir::Etc::sourceparts","")!="": - apt_pkg.config["Dir::Etc::sourceparts"]="": + apt_pkg.config["Dir::Etc::sourceparts"]="" apt_pkg.init_system() def get_default_version(): diff --git a/unattended-upgrades/kylin-unattended-upgrade-shutdown b/unattended-upgrades/kylin-unattended-upgrade-shutdown index b29afc3..c8c88c9 100644 --- a/unattended-upgrades/kylin-unattended-upgrade-shutdown +++ b/unattended-upgrades/kylin-unattended-upgrade-shutdown @@ -129,7 +129,7 @@ def reload_options_config(): if apt_pkg.config.find_b("APT::Install-Suggests",False) == True: apt_pkg.config.clear("APT::Install-Suggests") if apt_pkg.config.find("Dir::Etc::sourceparts","")!="": - apt_pkg.config["Dir::Etc::sourceparts"]="": + apt_pkg.config["Dir::Etc::sourceparts"]="" apt_pkg.init_system() def is_dpkg_journal_dirty():