From 43f0fd5dbf91540ebcaa46dca74ae3877a44822a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sat, 16 Apr 2016 20:05:36 +0200 Subject: [PATCH] [deb] Do not output regen-conf result at postinst --- bin/yunohost | 2 +- debian/postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/yunohost b/bin/yunohost index cb663306c..0f2385c10 100755 --- a/bin/yunohost +++ b/bin/yunohost @@ -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', diff --git a/debian/postinst b/debian/postinst index b44530930..8c4fff665 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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 \