[deb] Do not output regen-conf result at postinst

This commit is contained in:
Jérôme Lebleu 2016-04-16 20:05:36 +02:00
parent d24cd494f3
commit 43f0fd5dbf
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ def _parse_cli_args():
help="Don't use actions map cache",
)
parser.add_argument('--output-as',
choices=['json', 'plain'], default=None,
choices=['json', 'plain', 'none'], default=None,
help="Output result in another format",
)
parser.add_argument('--debug',

2
debian/postinst vendored
View file

@ -11,7 +11,7 @@ do_configure() {
bash /usr/share/yunohost/hooks/conf_regen/15-nginx init
else
echo "Regenerating configuration, this might take a while..."
yunohost service regenconf
yunohost service regenconf --output-as none
# restart yunohost-firewall if it's running
service yunohost-firewall status >/dev/null \