mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[deb] Do not output regen-conf result at postinst
This commit is contained in:
parent
d24cd494f3
commit
43f0fd5dbf
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ def _parse_cli_args():
|
||||||
help="Don't use actions map cache",
|
help="Don't use actions map cache",
|
||||||
)
|
)
|
||||||
parser.add_argument('--output-as',
|
parser.add_argument('--output-as',
|
||||||
choices=['json', 'plain'], default=None,
|
choices=['json', 'plain', 'none'], default=None,
|
||||||
help="Output result in another format",
|
help="Output result in another format",
|
||||||
)
|
)
|
||||||
parser.add_argument('--debug',
|
parser.add_argument('--debug',
|
||||||
|
|
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -11,7 +11,7 @@ do_configure() {
|
||||||
bash /usr/share/yunohost/hooks/conf_regen/15-nginx init
|
bash /usr/share/yunohost/hooks/conf_regen/15-nginx init
|
||||||
else
|
else
|
||||||
echo "Regenerating configuration, this might take a while..."
|
echo "Regenerating configuration, this might take a while..."
|
||||||
yunohost service regenconf
|
yunohost service regenconf --output-as none
|
||||||
|
|
||||||
# restart yunohost-firewall if it's running
|
# restart yunohost-firewall if it's running
|
||||||
service yunohost-firewall status >/dev/null \
|
service yunohost-firewall status >/dev/null \
|
||||||
|
|
Loading…
Add table
Reference in a new issue