Fix small errors, and remove nanorc from travis

This commit is contained in:
VirtuBox
2019-11-02 18:15:17 +01:00
parent 8df0391cab
commit 8be23bba38
3 changed files with 5 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ def pre_pref(self, apt_packages):
self, '/etc/apt/sources.list/wo-repo.list',
'download.opensuse.org'):
Log.info(self, "Adding repository for Redis, please wait...")
WORepo.add(self, repo_url=WOVar.wo_php_repo)
WORepo.add(self, repo_url=WOVar.wo_nginx_repo)
WORepo.add_key(self, WOVar.wo_nginx_key)
# nano
@@ -171,6 +171,7 @@ def pre_pref(self, apt_packages):
if (WOVar.wo_platform_codename == 'bionic' or
WOVar.wo_platform_codename == 'xenial'):
if not os.path.exists(
'/etc/apt/sources.list.d/'
'jonathonf-ubuntu-backports-{0}.list'
.format(WOVar.wo_platform_codename)):
Log.debug(self, 'Adding ppa for nano')