mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Realign exit codes
This commit is contained in:
parent
a57efabd4f
commit
459dc9cbab
1 changed files with 4 additions and 8 deletions
|
@ -404,23 +404,19 @@ if ! step register_debconf ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! step workaround_avahi_installation ; then
|
if ! step workaround_avahi_installation ; then
|
||||||
die "Unable to install workaround for avahi installation" 20
|
die "Unable to install workaround for avahi installation" 9
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! step install_yunohost_packages ; then
|
if ! step install_yunohost_packages ; then
|
||||||
die "\
|
die "Installation of Yunohost packages failed" 10
|
||||||
Installation of Yunohost packages failed
|
|
||||||
|
|
||||||
You can check the install logs saved in $YUNOHOST_LOG
|
|
||||||
" 9
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! step restart_services ; then
|
if ! step restart_services ; then
|
||||||
die "Error caught during services restart" 10
|
die "Error caught during services restart" 11
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! step post_install ; then
|
if ! step post_install ; then
|
||||||
die "Post-installation failed" 11
|
die "Post-installation failed" 12
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Success !
|
# Success !
|
||||||
|
|
Loading…
Add table
Reference in a new issue