Browse Source

Fixed apt old repo not removing

bugfixes
gau1991 10 years ago
parent
commit
463f53e72b
  1. 2
      ee/core/apt_repo.py

2
ee/core/apt_repo.py

@ -65,7 +65,7 @@ class EERepo():
if ppa: if ppa:
EEShellExec.cmd_exec(self, "add-apt-repository -y " EEShellExec.cmd_exec(self, "add-apt-repository -y "
"--remove '{ppa_name}'" "--remove '{ppa_name}'"
.format(ppa_name=repo_url)) .format(ppa_name=ppa))
elif repo_url: elif repo_url:
repo_file_path = ("/etc/apt/sources.list.d/" repo_file_path = ("/etc/apt/sources.list.d/"
+ EEVariables().ee_repo_file) + EEVariables().ee_repo_file)

Loading…
Cancel
Save