Use python3 now by default.
This commit is contained in:
11
README.rst
11
README.rst
@@ -28,17 +28,6 @@ Usage::
|
||||
|
||||
$ git clone https://github.com/modoboa/modoboa-installer
|
||||
$ cd modoboa-installer
|
||||
$ sudo ./run.py <your domain>
|
||||
|
||||
.. 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 <your domain>
|
||||
|
||||
A configuration file will be automatically generated the first time
|
||||
|
||||
4
run.py
4
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:
|
||||
|
||||
Reference in New Issue
Block a user