From 78d8b984373e63bf2a2653bd66e75468d571908c Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Thu, 15 Oct 2020 12:43:05 +0200 Subject: [PATCH] Fix nano install on xenial --- wo/cli/plugins/stack_pref.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 01154ac..eaf56af 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -1260,7 +1260,8 @@ def post_pref(self, apt_packages, packages, upgrade=False): 'added by WordOps') # nanorc - if 'nano' in apt_packages: + if (('nano' in apt_packages) and + (not WOVar.wo_platform_codename == 'xenial')): Log.debug(self, 'Setting up nanorc') WOGit.clone(self, 'https://github.com/scopatz/nanorc.git', '/usr/share/nano-syntax-highlighting')