maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [help needed] python packaging and conffiles (https://talk.maemo.org/showthread.php?t=75803)

qwazix 2011-08-16 12:19

[help needed] python packaging and conffiles
 
I tried to package my sms160 app to upload to devel, and I wanted to create shortcutd configuration if it is not there. I saw that debian conffiles addresses the issue by putting the configuration file where it should and asks the user wether he wants it to be replaced with a new one.

After the first "press enter to continue" I created a file .py2deb_build_folder/sms160/debian/conffiles with contents
Code:

/home/user/.shortcutd/config
I also put a src/home/user/.shortcutd/config file with contents
Code:

{
"proximityOn": 0,
"proximityVibrateOn": 1,
"camerakeyOn": 1,
"proximityShortPress": "dashboard",
"proximityLongPress": "phone",
"proximityHold": "disabled",
"camerakeyShortPress": "dashboard",
"camerakeyLongPress": "desktop",
"shellCommand": "python /home/user/transform.py"
}

anyone knows what am I doing wrong?


All times are GMT. The time now is 01:23.

vBulletin® Version 3.8.8