modify raspberry zero bug

This commit is contained in:
goodtft 2019-07-26 10:41:23 +01:00
parent ca1c8cfff2
commit 05a40bd006
13 changed files with 12 additions and 12 deletions

View File

@ -46,7 +46,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -46,7 +46,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -46,7 +46,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -46,7 +46,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -47,7 +47,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -49,7 +49,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -70,7 +70,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -72,7 +72,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -70,7 +70,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -51,7 +51,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -52,7 +52,7 @@ if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb 2> error_output.txt sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb 2> error_output.txt
#sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev 2> error_output.txt
result=`cat ./error_output.txt` result=`cat ./error_output.txt`
echo -e "\033[31m$result\033[0m" echo -e "\033[31m$result\033[0m"

View File

@ -68,7 +68,7 @@ sudo dpkg -P xserver-xorg-input-evdev
#echo -e "\033[31m$result\033[0m" #echo -e "\033[31m$result\033[0m"
fi fi
if [ -f ./.system_backup/10-evdev.conf ]; then if [ -f ./.system_backup/10-evdev.conf ]; then
sudo dpkg -i -B ./xserver-xorg-input-evdev_2.10.5-1_armhf.deb sudo dpkg -i -B ./xserver-xorg-input-evdev_1%3a2.10.5-1_armhf.deb
#sudo apt-get install xserver-xorg-input-evdev -y 2> error_output.txt #sudo apt-get install xserver-xorg-input-evdev -y 2> error_output.txt
#result=`cat ./error_output.txt` #result=`cat ./error_output.txt`
#echo -e "\033[31m$result\033[0m" #echo -e "\033[31m$result\033[0m"

Binary file not shown.