mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #728 from decentral1se/bugfix/allow-to-display-logs-postinstall-stage
Allow to display logs when postinstall fails
This commit is contained in:
commit
0c6d61cb6a
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ if __name__ == '__main__':
|
||||||
# Check that YunoHost is installed
|
# Check that YunoHost is installed
|
||||||
if not os.path.isfile('/etc/yunohost/installed') and \
|
if not os.path.isfile('/etc/yunohost/installed') and \
|
||||||
(len(args) < 2 or (args[0] +' '+ args[1] != 'tools postinstall' and \
|
(len(args) < 2 or (args[0] +' '+ args[1] != 'tools postinstall' and \
|
||||||
args[0] +' '+ args[1] != 'backup restore')):
|
args[0] +' '+ args[1] != 'backup restore' and \
|
||||||
|
args[0] +' '+ args[1] != 'log display')):
|
||||||
|
|
||||||
from moulinette import m18n
|
from moulinette import m18n
|
||||||
# Init i18n
|
# Init i18n
|
||||||
|
|
Loading…
Add table
Reference in a new issue