]> git.decadent.org.uk Git - ion3.git/blobdiff - debian/patches/209_use-etc-default.diff
[svn-inject] Applying Debian modifications to trunk
[ion3.git] / debian / patches / 209_use-etc-default.diff
diff --git a/debian/patches/209_use-etc-default.diff b/debian/patches/209_use-etc-default.diff
new file mode 100755 (executable)
index 0000000..190bc8b
--- /dev/null
@@ -0,0 +1,29 @@
+#! /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