Force german language for sysupgrade.

This commit is contained in:
Faerbit 2016-05-17 12:26:42 +02:00
parent f65fd8327e
commit a772e7f1f9

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 }')
sudo pacmatic -Syu LANG=de_DE.UTF-8 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