From fc7b8c53049c52dde4db95ed3bfd8499b87ea67e Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Tue, 14 Feb 2023 04:05:48 +0100 Subject: [PATCH] fix typos (#897) --- scripts/KlipperScreen-install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index 0aac3863..41c5c27b 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -43,7 +43,7 @@ install_packages() echo_text "Checking for broken packages..." output=$(dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' | grep -E ^.[^nci]) if [ $? -eq 0 ]; then - echo_text "Detectected broken pacakges. Attempting to fix" + echo_text "Detected broken packages. Attempting to fix" sudo apt-get -f install output=$(dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' | grep -E ^.[^nci]) if [ $? -eq 0 ]; then @@ -73,16 +73,16 @@ install_packages() fi sudo apt-get install -y $PYTHON if [ $? -eq 0 ]; then - echo_ok "Installed Python dependincies" + echo_ok "Installed Python dependencies" else - echo_error "Installation of Python dependincies failed ($PYTHON)" + echo_error "Installation of Python dependencies failed ($PYTHON)" exit 1 fi sudo apt-get install -y $PYGOBJECT if [ $? -eq 0 ]; then - echo_ok "Installed PyGobject dependincies" + echo_ok "Installed PyGobject dependencies" else - echo_error "Installation of PyGobject dependincies failed ($PYGOBJECT)" + echo_error "Installation of PyGobject dependencies failed ($PYGOBJECT)" exit 1 fi sudo apt-get install -y $MISC @@ -177,7 +177,7 @@ start_KlipperScreen() sudo systemctl start KlipperScreen } if [ "$EUID" == 0 ] - then echo_error "Plaease do not run this script as root" + then echo_error "Please do not run this script as root" exit 1 fi install_packages