summaryrefslogtreecommitdiffstats
path: root/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keymaps')
-rwxr-xr-xkeymaps/updkmaps8
1 files changed, 7 insertions, 1 deletions
diff --git a/keymaps/updkmaps b/keymaps/updkmaps
index 2feae46d3..df9766a11 100755
--- a/keymaps/updkmaps
+++ b/keymaps/updkmaps
@@ -12,7 +12,13 @@ TOPDIR=`pwd`
rm -rf $TMPDIR
mkdir -p $TMPDIR
-find /usr/lib/kbd/keymaps/i386 -name "*.kmap*" | while read n; do
+if [ $ARCH = "sparc" ]; then
+ PATTERN="{i386,sun}"
+else
+ PETTERN="i386"
+fi
+
+find /usr/lib/kbd/keymaps/$PATTERN -name "*.kmap*" | while read n; do
/usr/bin/loadkeys `basename $n .gz`
../utils/readmap $TMPDIR/`basename $n .kmap.gz`.kmap
done