xkb-data: Changes to 'ubuntu'
debian/changelog | 1 +
debian/xkb-data.postinst | 5 +++++
2 files changed, 6 insertions(+)
New commits:
commit 803496972a7d475942370b90b8e8b1a7043c6328
Author: Timo Aaltonen <tjaalton@ubuntu.com>
Date: Tue Jan 24 00:26:25 2012 +0200
xkb-data.postinst: Remove the xkb cache to make sure it gets regenerated.
diff --git a/debian/changelog b/debian/changelog
index 833d582..a4a8476 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ xkeyboard-config (2.5-1ubuntu1) UNRELEASED; urgency=low
settings from dvorak-intl to dvorak-alt-intl to match rename in
xkeyboard-config 1.9. (LP: 742683)
* xkb-data.install: Add missing directories (man, pkgconfig).
+ * xkb-data.postinst: Remove the xkb cache to make sure it gets regenerated.
-- Timo Aaltonen <tjaalton@ubuntu.com> Mon, 23 Jan 2012 11:14:58 +0200
diff --git a/debian/xkb-data.postinst b/debian/xkb-data.postinst
index 062c97d..33dd7f0 100644
--- a/debian/xkb-data.postinst
+++ b/debian/xkb-data.postinst
@@ -8,6 +8,11 @@ set -e
THIS_PACKAGE=xkb-data
THIS_SCRIPT=postinst
+# Remove the xkb cache to make sure it gets regenerated
+if [ -d /var/lib/xkb/ ]; then
+ rm -f /var/lib/xkb/*.xkm 2>/dev/null
+fi
+
case $1 in
configure)
if dpkg --compare-versions "$2" lt-nl 1.9; then
Reply to: