Various small fixes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
function install_pkg() {
|
||||
if hash apt-get 2>/dev/null; then
|
||||
sudo -n apt-get update
|
||||
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${$}
|
||||
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${@}
|
||||
return
|
||||
fi
|
||||
|
||||
@@ -87,8 +87,10 @@ function main() {
|
||||
|
||||
install_pkg locales less
|
||||
|
||||
#echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
|
||||
#sudo locale-gen
|
||||
if [[ ${REMOTE_CONTAINERS} || ${DEVCONTAINER} ]]; then
|
||||
echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
|
||||
sudo locale-gen
|
||||
fi
|
||||
|
||||
setup_fish
|
||||
setup_ssh
|
||||
|
||||
Reference in New Issue
Block a user