Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
0a6266492c
@ -74,6 +74,14 @@ if ! command -v gcc >/dev/null 2>&1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check to ensure bc is installed
|
||||
if ! command -v bc >/dev/null 2>&1; then
|
||||
echo "A required package is not installed."
|
||||
echo "Please install the following package: bc"
|
||||
echo "Once the package is installed, please run \"sudo ./${SCRIPT_NAME}\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check to ensure make is installed
|
||||
if ! command -v make >/dev/null 2>&1; then
|
||||
echo "A required package is not installed."
|
||||
|
||||
@ -67,10 +67,10 @@ echo ": ${SCRIPT_NAME} v${SCRIPT_VERSION}"
|
||||
# information that helps with bug reports
|
||||
|
||||
# display architecture
|
||||
echo ": ${KARCH} (ARCH)"
|
||||
echo ": ${KARCH} (architecture)"
|
||||
|
||||
# display kernel version
|
||||
echo ": ${KVER}"
|
||||
echo ": ${KVER} (kernel version)"
|
||||
|
||||
echo ": ---------------------------"
|
||||
|
||||
@ -132,9 +132,8 @@ echo "You may now delete the driver directory if desired."
|
||||
|
||||
# if NoPrompt is not used, ask user some questions
|
||||
if [ $NO_PROMPT -ne 1 ]; then
|
||||
printf "Do you want to apply the new options by rebooting now? (recommended) [y/N] "
|
||||
printf "Do you want to reboot now? (recommended) [y/N] "
|
||||
read -r REPLY
|
||||
echo
|
||||
case "$REPLY" in
|
||||
[yY]*) reboot ;;
|
||||
esac
|
||||
|
||||
Loading…
Reference in New Issue
Block a user