fix typos (#897)

This commit is contained in:
Thijs Triemstra authored and GitHub committed 2023-02-13 21:05:48 -06:00
1 parent a6bb0fd02e
commit fc7b8c5304
1 file changed
+6 -6
+6 -6
View File
@@ -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