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
|
||||
|
||||
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
|
||||
|
||||
if ! step install_yunohost_packages ; then
|
||||
die "\
|
||||
Installation of Yunohost packages failed
|
||||
|
||||
You can check the install logs saved in $YUNOHOST_LOG
|
||||
" 9
|
||||
die "Installation of Yunohost packages failed" 10
|
||||
fi
|
||||
|
||||
if ! step restart_services ; then
|
||||
die "Error caught during services restart" 10
|
||||
die "Error caught during services restart" 11
|
||||
fi
|
||||
|
||||
if ! step post_install ; then
|
||||
die "Post-installation failed" 11
|
||||
die "Post-installation failed" 12
|
||||
fi
|
||||
|
||||
# Success !
|
||||
|
|
Loading…
Add table
Reference in a new issue