Fix variables

This commit is contained in:
VirtuBox
2019-08-27 22:21:22 +02:00
parent 1c3b303ee4
commit 8db9521a9a
3 changed files with 23 additions and 29 deletions

View File

@@ -47,7 +47,7 @@ class WORepo():
Log.debug(self, "{0}".format(e))
Log.error(self, "Unable to add repo")
if ppa is not None:
WOShellExec.cmd_exec(self, "add-apt-repository -y '{ppa_name}'"
WOShellExec.cmd_exec(self, "add-apt-repository -yu '{ppa_name}'"
.format(ppa_name=ppa))
def remove(self, ppa=None, repo_url=None):