mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
skip restart services when building image
This commit is contained in:
parent
dfdb4ee2a5
commit
cdcfb91ea5
3 changed files with 12 additions and 3 deletions
5
bookworm
5
bookworm
|
@ -109,7 +109,10 @@ function main()
|
||||||
step register_debconf || die "Unable to insert new values into debconf database"
|
step register_debconf || die "Unable to insert new values into debconf database"
|
||||||
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
||||||
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
||||||
step restart_services || die "Error caught during services restart"
|
|
||||||
|
if [[ "$BUILD_IMAGE" == "0" ]] ; then
|
||||||
|
step restart_services || die "Error caught during services restart"
|
||||||
|
fi
|
||||||
|
|
||||||
if is_raspbian ; then
|
if is_raspbian ; then
|
||||||
step del_user_pi || die "Unable to delete user pi"
|
step del_user_pi || die "Unable to delete user pi"
|
||||||
|
|
5
bullseye
5
bullseye
|
@ -109,7 +109,10 @@ function main()
|
||||||
step register_debconf || die "Unable to insert new values into debconf database"
|
step register_debconf || die "Unable to insert new values into debconf database"
|
||||||
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
||||||
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
||||||
step restart_services || die "Error caught during services restart"
|
|
||||||
|
if [[ "$BUILD_IMAGE" == "0" ]] ; then
|
||||||
|
step restart_services || die "Error caught during services restart"
|
||||||
|
fi
|
||||||
|
|
||||||
if is_raspbian ; then
|
if is_raspbian ; then
|
||||||
step del_user_pi || die "Unable to delete user pi"
|
step del_user_pi || die "Unable to delete user pi"
|
||||||
|
|
5
buster
5
buster
|
@ -109,7 +109,10 @@ function main()
|
||||||
step register_debconf || die "Unable to insert new values into debconf database"
|
step register_debconf || die "Unable to insert new values into debconf database"
|
||||||
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
step workarounds_because_sysadmin_sucks || die "Unable to run stupid workarounds"
|
||||||
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
step install_yunohost_packages || die "Installation of Yunohost packages failed"
|
||||||
step restart_services || die "Error caught during services restart"
|
|
||||||
|
if [[ "$BUILD_IMAGE" == "0" ]] ; then
|
||||||
|
step restart_services || die "Error caught during services restart"
|
||||||
|
fi
|
||||||
|
|
||||||
if is_raspbian ; then
|
if is_raspbian ; then
|
||||||
step del_user_pi || die "Unable to delete user pi"
|
step del_user_pi || die "Unable to delete user pi"
|
||||||
|
|
Loading…
Add table
Reference in a new issue