@@ -28,10 +28,10 if [ "$(echo "$APT_INCLUDES" | grep ",locales")" ] ; then | |||||
28 | chroot_exec update-locale LANG="${DEFLOCAL}" |
|
28 | chroot_exec update-locale LANG="${DEFLOCAL}" | |
29 |
|
29 | |||
30 | # Install and setup default keyboard configuration |
|
30 | # Install and setup default keyboard configuration | |
31 |
if [ "$XKB_MODEL" != " |
|
31 | if [ "$XKB_MODEL" != "" ] ; then | |
32 | sed -i "s/^XKBMODEL.*/XKBMODEL=\"${XKB_MODEL}\"/" "${ETC_DIR}/default/keyboard" |
|
32 | sed -i "s/^XKBMODEL.*/XKBMODEL=\"${XKB_MODEL}\"/" "${ETC_DIR}/default/keyboard" | |
33 | fi |
|
33 | fi | |
34 |
if [ "$XKB_LAYOUT" != " |
|
34 | if [ "$XKB_LAYOUT" != "" ] ; then | |
35 | sed -i "s/^XKBLAYOUT.*/XKBLAYOUT=\"${XKB_LAYOUT}\"/" "${ETC_DIR}/default/keyboard" |
|
35 | sed -i "s/^XKBLAYOUT.*/XKBLAYOUT=\"${XKB_LAYOUT}\"/" "${ETC_DIR}/default/keyboard" | |
36 | fi |
|
36 | fi | |
37 | if [ "$XKB_VARIANT" != "" ] ; then |
|
37 | if [ "$XKB_VARIANT" != "" ] ; then |
@@ -85,7 +85,7 set_kernel_config() { | |||||
85 | if grep -q "^${TGT}[^_]" .config; then |
|
85 | if grep -q "^${TGT}[^_]" .config; then | |
86 | sed -i "s/^\(${TGT}=.*\|# ${TGT} is not set\)/${TGT}=${REP}/" .config |
|
86 | sed -i "s/^\(${TGT}=.*\|# ${TGT} is not set\)/${TGT}=${REP}/" .config | |
87 | else |
|
87 | else | |
88 | echo "${TGT}=${2}" >> .config |
|
88 | echo "${TGT}"="${2}" >> .config | |
89 | fi |
|
89 | fi | |
90 | } |
|
90 | } | |
91 |
|
91 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant