summaryrefslogtreecommitdiff
path: root/packages/irk
diff options
context:
space:
mode:
Diffstat (limited to 'packages/irk')
-rw-r--r--packages/irk/.mtn2git_empty0
-rw-r--r--packages/irk/files/.mtn2git_empty0
-rw-r--r--packages/irk/files/install-default-conf.patch18
3 files changed, 18 insertions, 0 deletions
diff --git a/packages/irk/.mtn2git_empty b/packages/irk/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/irk/.mtn2git_empty
diff --git a/packages/irk/files/.mtn2git_empty b/packages/irk/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/irk/files/.mtn2git_empty
diff --git a/packages/irk/files/install-default-conf.patch b/packages/irk/files/install-default-conf.patch
index e69de29bb2..a55992a737 100644
--- a/packages/irk/files/install-default-conf.patch
+++ b/packages/irk/files/install-default-conf.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- irk/irk.cpp~install-default-config
++++ irk/irk.cpp
+@@ -470,6 +470,10 @@
+
+ void CGIRK::readConfig()
+ {
++ // check if the config is there, if not copy it from default location
++ // FIXME: Do it properly once confirmed that it works :D
++ ::system( "if [ ! -e \"$HOME/Settings/IRK.conf\" ]; then cat $OPIEDIR/etc/skel/IRK.conf >$HOME/Settings/IRK.conf; fi" );
++
+ // clear the keyboard list ready for the new one to be loaded in
+ m_keyboardList.clear();
+ #if !POCKETOP_BUILD