mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Allow to display logs when postinstall fails
Closes https://github.com/YunoHost/issues/issues/1345.
This commit is contained in:
parent
9341da10ce
commit
b091ab4029
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ if __name__ == '__main__':
|
|||
# Check that YunoHost is installed
|
||||
if not os.path.isfile('/etc/yunohost/installed') 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
|
||||
# Init i18n
|
||||
|
|
Loading…
Add table
Reference in a new issue