From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/irk/files/install-default-conf.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes/irk/files/install-default-conf.patch (limited to 'recipes/irk/files/install-default-conf.patch') diff --git a/recipes/irk/files/install-default-conf.patch b/recipes/irk/files/install-default-conf.patch new file mode 100644 index 0000000000..a55992a737 --- /dev/null +++ b/recipes/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 -- cgit 1.2.3-korg