Force german language for sysupgrade.
This commit is contained in:
parent
f65fd8327e
commit
a772e7f1f9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user