Bash Add line to /etc/locale.gen instead of writing file
This commit is contained in:
parent
e6d27bcff9
commit
6321ffdd95
2
bin/init
2
bin/init
@ -6,7 +6,7 @@ if [ "$ROSARIOSIS_LANG" == "en_US" ]; then
|
|||||||
else
|
else
|
||||||
echo "Installing "$ROSARIOSIS_LANG
|
echo "Installing "$ROSARIOSIS_LANG
|
||||||
apt-get install locales
|
apt-get install locales
|
||||||
echo $ROSARIOSIS_LANG'.UTF-8 UTF-8' > /etc/locale.gen
|
echo $ROSARIOSIS_LANG'.UTF-8 UTF-8' >> /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user