Removing language setting for pacman in sysupgrade.

This commit is contained in:
Faerbit 2016-05-30 13:36:23 +02:00
parent ef98545003
commit ca8f32bdca

View File

@ -4,7 +4,7 @@ twitch() {
sysupgrade(){ sysupgrade(){
old_kernel=$(pacman -Q linux-raspberrypi 2>/dev/null | awk '{print $2 }') old_kernel=$(pacman -Q linux-raspberrypi 2>/dev/null | awk '{print $2 }')
LANG=de_DE.UTF-8 sudo pacmatic -Syu sudo pacmatic -Syu
new_kernel=$(pacman -Q linux-raspberrypi 2>/dev/null | awk '{print $2 }') new_kernel=$(pacman -Q linux-raspberrypi 2>/dev/null | awk '{print $2 }')
if [[ $old_kernel != $new_kernel && $(uname -m) == 'armv7l' ]] if [[ $old_kernel != $new_kernel && $(uname -m) == 'armv7l' ]]
then then