Fix check for install-required-packages.sh (#5241)
Fixes #5240
Chris Akritidis committed
Jan 21, 2019 at 18:39 UTC
f684729c58a48e09562a2abf4837ed040e3188a5
1 file changed
+2
-1
packaging/installer/kickstart.sh
+2
-1
@@ -227,7 +227,8 @@ else
227
warning "Downloaded dependency installation script is empty."
228
else
229
progress "Running downloaded script to detect required packages..."
230
- if run ${sudo} "${bash}" "${tmpdir}/install-required-packages.sh" ${PACKAGES_INSTALLER_OPTIONS}; then
230
+ run ${sudo} "${bash}" "${tmpdir}/install-required-packages.sh" ${PACKAGES_INSTALLER_OPTIONS}
231
+ if [ $? -ne 0 ] ; then
232
warning "It failed to install all the required packages, but installation might still be possible."
233
fi
234
fi