fix config reload function
This commit is contained in:
parent
d1349476fe
commit
6f02044323
|
@ -159,7 +159,7 @@ def reload_options_config():
|
||||||
if apt_pkg.config.find_b("APT::Install-Suggests",False) == True:
|
if apt_pkg.config.find_b("APT::Install-Suggests",False) == True:
|
||||||
apt_pkg.config.clear("APT::Install-Suggests")
|
apt_pkg.config.clear("APT::Install-Suggests")
|
||||||
if apt_pkg.config.find("Dir::Etc::sourceparts","")!="":
|
if apt_pkg.config.find("Dir::Etc::sourceparts","")!="":
|
||||||
apt_pkg.config["Dir::Etc::sourceparts"]="":
|
apt_pkg.config["Dir::Etc::sourceparts"]=""
|
||||||
apt_pkg.init_system()
|
apt_pkg.init_system()
|
||||||
|
|
||||||
def get_default_version():
|
def get_default_version():
|
||||||
|
|
|
@ -129,7 +129,7 @@ def reload_options_config():
|
||||||
if apt_pkg.config.find_b("APT::Install-Suggests",False) == True:
|
if apt_pkg.config.find_b("APT::Install-Suggests",False) == True:
|
||||||
apt_pkg.config.clear("APT::Install-Suggests")
|
apt_pkg.config.clear("APT::Install-Suggests")
|
||||||
if apt_pkg.config.find("Dir::Etc::sourceparts","")!="":
|
if apt_pkg.config.find("Dir::Etc::sourceparts","")!="":
|
||||||
apt_pkg.config["Dir::Etc::sourceparts"]="":
|
apt_pkg.config["Dir::Etc::sourceparts"]=""
|
||||||
apt_pkg.init_system()
|
apt_pkg.init_system()
|
||||||
|
|
||||||
def is_dpkg_journal_dirty():
|
def is_dpkg_journal_dirty():
|
||||||
|
|
Loading…
Reference in New Issue