--- /dev/null
+#! /bin/sh -e
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+case "$1" in
+ -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+ -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
+
+@DPATCH@
+diff -Nur ion3-20060317.orig/etc/cfg_ion.lua ion3-20060317/etc/cfg_ion.lua
+--- ion3-20060317.orig/etc/cfg_ion.lua 2006-03-17 20:43:04.000000000 +0100
++++ ion3-20060317/etc/cfg_ion.lua 2006-03-17 22:16:02.000000000 +0100
+@@ -12,6 +12,9 @@
+ --META="Mod1+"
+ --ALTMETA=""
+
++-- Debian sets the META and ALTMETA keys in /etc/default/ion3.
++dopath("cfg_debian")
++
+ -- Some basic settings
+ ioncore.set{
+ -- Maximum delay between clicks in milliseconds to be considered a