From 0a64fd1015d49b4153e62c11fc9748aef6ce1ecc Mon Sep 17 00:00:00 2001 From: lleaff Date: Wed, 29 Mar 2017 13:43:06 +0200 Subject: [PATCH] Add support for KDE neon --- apt_select/apt_system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apt_select/apt_system.py b/apt_select/apt_system.py index 50dc80b..d26c386 100644 --- a/apt_select/apt_system.py +++ b/apt_select/apt_system.py @@ -36,7 +36,8 @@ def get_arch(): else: codename = codename.capitalize() - if dist != 'Ubuntu': + # KDE neon is based on Ubuntu but does not report itself as such + if dist not in ['Ubuntu', 'neon']: raise ValueError(_not_ubuntu) arch = get_arch.__func__()