#!/bin/sh . /etc/os-release if [ "$ID" = "ubuntu" ];then sudo apt update sudo apt -y upgrade sudo apt -y install language-pack-ja sudo update-locale LANG=ja_JP.UTF-8 sudo apt -y install uim-fep uim-mozc sudo dpkg-reconfigure tzdata fi if [ "$ID" = "debian" ];then sudo apt update sudo apt -y upgrade sudo apt -y install task-japanese sudo apt -y install locales sudo dpkg-reconfigure locales . /etc/default/locale sudo apt -y install uim-fep uim-mozc sudo dpkg-reconfigure tzdata fi if [ ! -e "$HOME/.uim" ]; then cat > $HOME/.uim < " "g")) (define-key generic-off-key? '(" " "g")) END fi cat >> $HOME/.profile <