From b83519eb828fd59b1e40947aa1dfe0d8872719b8 Mon Sep 17 00:00:00 2001 From: Psycho Date: Sun, 9 Aug 2020 17:57:20 +0200 Subject: [PATCH] English correction --- install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 872b428..ba309ca 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi -# Check for enough space on /boot volume +# Check if enough space on /boot volume boot_line=$(df -h | grep /boot | head -n 1) if [ "x${boot_line}" = "x" ]; then echo "Warning: /boot volume not found .." @@ -89,10 +89,10 @@ function check_kernel_headers() { # echo RUN=$VER_RUN HDR=$VER_HDR echo " !!! Your kernel version is $VER_RUN" - echo " Not found *** corresponding *** kernel headers with apt-get." - echo " This may occur if you have ran 'rpi-update'." - echo " Choose *** y *** will revert the kernel to version $VER_HDR then continue." - echo " Choose *** N *** will exit without this driver support, by default." + echo " Couldn't find *** corresponding *** kernel headers with apt-get." + echo " This may happen if you ran 'rpi-update'." + echo " Choose *** y *** to revert the kernel to version $VER_HDR and continue." + echo " Choose *** N *** to exit without this driver support, by default." read -p "Would you like to proceed? (y/N)" -n 1 -r -s echo if ! [[ $REPLY =~ ^[Yy]$ ]]; then @@ -118,7 +118,7 @@ function download_install_debpkg() { function install_kernel() { local _url _prefix - # Instead of retriving the lastest kernel & headers + # Instead of retrieving the lastest kernel & headers [ "X$FORCE_KERNEL" == "X" ] && { # Raspbian kernel packages apt-get -y --force-yes install raspberrypi-kernel-headers raspberrypi-kernel @@ -195,8 +195,8 @@ cp seeed-2mic-voicecard.dtbo $OVERLAYS cp seeed-4mic-voicecard.dtbo $OVERLAYS cp seeed-8mic-voicecard.dtbo $OVERLAYS -#install alsa plugins -# no need this plugin now +# install alsa plugins +# we don't need this plugin now # install -D ac108_plugin/libasound_module_pcm_ac108.so /usr/lib/arm-linux-gnueabihf/alsa-lib/ rm -f /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_ac108.so @@ -246,6 +246,6 @@ systemctl enable seeed-voicecard.service systemctl start seeed-voicecard echo "------------------------------------------------------" -echo "Please reboot your raspberry pi to apply all settings" +echo "Please reboot your device to apply all settings" echo "Enjoy!" echo "------------------------------------------------------"