mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Do not run the rpi-update step if we're building images
This commit is contained in:
parent
882ee11397
commit
1f797fefe3
1 changed files with 4 additions and 3 deletions
|
@ -238,9 +238,10 @@ function upgrade_system() {
|
||||||
-y --force-yes install rpi-update \
|
-y --force-yes install rpi-update \
|
||||||
|| return 3
|
|| return 3
|
||||||
|
|
||||||
|
if [[ "$BUILD_IMAGE" != "1" ]] ; then
|
||||||
rpi-update >> $YUNOHOST_LOG 2>&1 \
|
rpi-update >> $YUNOHOST_LOG 2>&1 \
|
||||||
|| return 4
|
|| return 4
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue