xbps-casper: replace selected keymap value for X.org evdev.
This commit is contained in:
parent
796f536f7b
commit
7dc1886a95
2 changed files with 7 additions and 1 deletions
|
@ -35,6 +35,12 @@ if [ "${set_keymap}" ]; then
|
|||
"${rootmnt}/etc/conf.d/keymaps"
|
||||
fi
|
||||
|
||||
# Setup keymap for X.org evdev.
|
||||
if [ -r "${rootmnt}/etc/udev/rules.d/75-x11-input.rules" ]; then
|
||||
sed -i -e "s|\(ENV{xkblayout}\=\)\"us\"|\1\"${keymap}\"|" \
|
||||
${rootmnt}/etc/udev/rules.d/75-x11-input.rules
|
||||
fi
|
||||
|
||||
# Setup keymap for lightdm.
|
||||
if [ -r "${rootmnt}/etc/lightdm.conf" ]; then
|
||||
sed -i -e "s|^\#\(layout=\).*|\1${keymap}|" ${rootmnt}/etc/lightdm.conf
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-casper'
|
||||
pkgname=xbps-casper
|
||||
_localver=0.14 # XBPS package version
|
||||
_localver=0.15 # XBPS package version
|
||||
_distver=1.236 # This should match the upstream (Ubuntu) version
|
||||
version=${_localver}.${_distver}
|
||||
build_style=custom-install
|
||||
|
|
Loading…
Reference in a new issue