OSDN Git Service

[fix] : sed file
authorhayao <shun819.mail@gmail.com>
Mon, 17 Aug 2020 06:32:14 +0000 (15:32 +0900)
committerhayao <shun819.mail@gmail.com>
Mon, 17 Aug 2020 06:32:14 +0000 (15:32 +0900)
channels/gnome/airootfs.any/root/customize_airootfs_gnome.sh

index 7bdda24..5cf9656 100755 (executable)
@@ -127,7 +127,7 @@ sed -i s/%USERNAME%/${username}/g /etc/gdm/custom.conf
 
 # Remove file for japanese input
 if [[ ! "${language}" = "ja" ]]; then
-    sed -i "s/export GTK_IM_MODULE=fcitx/#export GTK_IM_MODULE=fcitx/g"
+    sed -i "s/export GTK_IM_MODULE=fcitx/#export GTK_IM_MODULE=fcitx/g" "/etc/environment"
     sed -i "s/export QT_IM_MODULE=fcitx/#export QT_IM_MODULE=fcitx/g" "/etc/environment"
     sed -i "s/export XMODIFIERS=@im=fcitx/#export XMODIFIERS=@im=fcitx/g" "/etc/environment"
 fi