]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/irk/files/install-default-conf.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / irk / files / install-default-conf.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- irk/irk.cpp~install-default-config
7 +++ irk/irk.cpp
8 @@ -470,6 +470,10 @@
9  
10  void CGIRK::readConfig()
11  {
12 +       // check if the config is there, if not copy it from default location
13 +       // FIXME: Do it properly once confirmed that it works :D
14 +       ::system( "if [ ! -e \"$HOME/Settings/IRK.conf\" ]; then cat $OPIEDIR/etc/skel/IRK.conf >$HOME/Settings/IRK.conf; fi" );
15 +
16         // clear the keyboard list ready for the new one to be loaded in
17         m_keyboardList.clear();
18  #if !POCKETOP_BUILD