summaryrefslogtreecommitdiff
path: root/source/x/x11/doinst.sh/xkeyboard-config
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/doinst.sh/xkeyboard-config')
-rw-r--r--source/x/x11/doinst.sh/xkeyboard-config7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/x/x11/doinst.sh/xkeyboard-config b/source/x/x11/doinst.sh/xkeyboard-config
new file mode 100644
index 00000000..2b47d6d9
--- /dev/null
+++ b/source/x/x11/doinst.sh/xkeyboard-config
@@ -0,0 +1,7 @@
+# This has to assume the use of upgradepkg to work.
+# Ever wondered why we install new packages twice?
+# Here's an example:
+if [ -d etc/X11/xkb/symbols/pc ]; then
+ mv etc/X11/xkb etc/X11/xkb.old.bak.$$
+ mkdir -p etc/X11/xkb/rules etc/X11/xkb
+fi