mirror of https://github.com/WordOps/WordOps
Fix nanorc install on Xenial
This commit is contained in:
parent
9b1bccb336
commit
8a5f6ca692
|
@ -153,11 +153,9 @@ def pre_pref(self, apt_packages):
|
|||
|
||||
# nano
|
||||
if 'nano' in apt_packages:
|
||||
if WOVar.wo_distro == 'ubuntu':
|
||||
if (WOVar.wo_platform_codename == 'bionic' or
|
||||
WOVar.wo_platform_codename == 'xenial'):
|
||||
Log.debug(self, 'Adding ppa for nano')
|
||||
WORepo.add(self, ppa=WOVar.wo_ubuntu_backports)
|
||||
if WOVar.wo_platform_codename == 'bionic':
|
||||
Log.debug(self, 'Adding ppa for nano')
|
||||
WORepo.add(self, ppa=WOVar.wo_ubuntu_backports)
|
||||
else:
|
||||
if not WOFileUtils.grepcheck(
|
||||
self, '/etc/apt/sources.list/wo-repo.list',
|
||||
|
|
Loading…
Reference in New Issue