From 94346ee58a6a8ee6a8095471b82dddf08b84be95 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Thu, 17 Sep 2020 11:57:50 +0200 Subject: [PATCH] Use python3 now by default. --- README.rst | 13 +------------ run.py | 4 ++-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/README.rst b/README.rst index a945510..73dfd6e 100644 --- a/README.rst +++ b/README.rst @@ -28,18 +28,7 @@ Usage:: $ git clone https://github.com/modoboa/modoboa-installer $ cd modoboa-installer - $ sudo ./run.py - -.. note:: - - On some systems (Ubuntu 20.04 for example), you might encounter the - following issue:: - - /usr/bin/env: 'python': No such file or directory - - If so, try to run the command like this:: - - $ sudo python3 run.py + $ sudo python3 run.py A configuration file will be automatically generated the first time you run the installer, please don't copy the diff --git a/run.py b/run.py index da9727f..50ae6dd 100755 --- a/run.py +++ b/run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """An installer for Modoboa.""" @@ -87,7 +87,7 @@ def main(input_args): config.set("general", "domain", args.domain) config.set("dovecot", "domain", args.domain) config.set("modoboa", "version", args.version) - # Display disclaimer + # Display disclaimerpython 3 linux distribution if not args.upgrade: installation_disclaimer(args, config) else: