From 46841cfdecf4ae631a22bebde41304b987044490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Thu, 24 Dec 2020 14:01:25 -0500 Subject: [PATCH] make-ring: do default install if distribution not recognized GitLab: #1127 Change-Id: I8190ea8b974a44b7851969cdb5d33bd32074ddd9 --- make-ring.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/make-ring.py b/make-ring.py index cb9edc9c..8b395fb5 100755 --- a/make-ring.py +++ b/make-ring.py @@ -307,7 +307,7 @@ def run_dependencies(args): sys.exit(1) else: - print("Not yet implemented for current distribution (%s)" % + print("Not yet implemented for current distribution (%s). Please continue with the --install instruction. Note: You may need to install some dependencies manually." % args.distribution) sys.exit(1) @@ -507,10 +507,9 @@ def validate_args(parsed_args): + ZYPPER_BASED_DISTROS + FLATPAK_BASED_RUNTIMES if parsed_args.distribution not in supported_distros: - print('Distribution \'{0}\' not supported.\nChoose one of: {1}'.format( + print('WARNING: Distribution \'{0}\' not supported.\nChoose one of: {1}'.format( parsed_args.distribution, ', '.join(supported_distros) ), file=sys.stderr) - sys.exit(1) # The Qt client support will be added incrementally. if parsed_args.qt is not None: -- GitLab