about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-29 08:50:37 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-29 08:50:37 +0200
commit70f268cc29c3c0f04afcb8243c2180a0da722fbd (patch)
tree9040e97cb720f74c68d2b318c4fccee791c268ce /installer.sh.in
parentc97e10480c641457dd0711e59e05e2fe8b649085 (diff)
downloadhrmpf-70f268cc29c3c0f04afcb8243c2180a0da722fbd.tar.gz
hrmpf-70f268cc29c3c0f04afcb8243c2180a0da722fbd.tar.xz
hrmpf-70f268cc29c3c0f04afcb8243c2180a0da722fbd.zip
installer: remove unnecessary quoting.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 4bbd9ab..5aa5ce9 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -291,7 +291,8 @@ menu_keymap() {
 
 set_keymap() {
     local KEYMAP=$(get_option KEYMAP)
-    if [ -f "/etc/vconsole.conf" ]; then
+
+    if [ -f /etc/vconsole.conf ]; then
         sed -i -e "s|KEYMAP=.*|KEYMAP=$KEYMAP|g" $TARGETDIR/etc/vconsole.conf
     else
         sed -i -e "s|KEYMAP=.*|KEYMAP=$KEYMAP|g" $TARGETDIR/etc/rc.conf
@@ -319,6 +320,7 @@ menu_locale() {
 
 set_locale() {
     local LOCALE=$(get_option LOCALE)
+
     sed -i -e "s|LANG=.*|LANG=$LOCALE|g" $TARGETDIR/etc/locale.conf
     # Uncomment locale from /etc/default/libc-locales and regenerate it.
     sed -e "/${LOCALE}/s/^\#//" -i $TARGETDIR/etc/default/libc-locales