File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 374374# ################################################################################
375375
376376if [ " $install " = ' yes' ] || [ " $install " = ' y' ]; then
377- echo " Installing packages..."
378- for i in $DEB_DIR /* .deb; do
379- # Install all available packages
380- dpkg -i $i
381- done
382- unset $answer
383- # Remove temporary files
384- rm -rf $BUILD_DIR
377+ echo " !!! Development builds should not be installed on systems with live production data without understanding the potential risks involved. !!!"
378+ read -p ' Do you want to proceed the package installation? [y/n] ' answer
379+ if [ " $answer " = ' y' ] || [ " $answer " = ' Y' ]; then
380+ echo " Installing packages..."
381+ for i in $DEB_DIR /* .deb; do
382+ # Install all available packages
383+ dpkg -i $i
384+ done
385+ unset $answer
386+ # Remove temporary files
387+ rm -rf $BUILD_DIR
388+ else
389+ check_result 1 " Package installation cancelled..."
390+ fi
385391fi
You can’t perform that action at this time.
0 commit comments