![]() |
2010-01-12
, 20:38
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#11
|
![]() |
2010-01-12
, 22:10
|
|
Posts: 1,070 |
Thanked: 1,604 times |
Joined on Sep 2008
@ Helsinki
|
#12
|
If you put the same code in the rules script, it will solve your problem.
The Following User Says Thank You to VDVsx For This Useful Post: | ||
![]() |
2010-01-13
, 17:45
|
Posts: 21 |
Thanked: 14 times |
Joined on Dec 2009
@ Turku, Finland
|
#13
|
Sorry, but you're doing it all wrong.
Use maemo-optify. Simplest is to make debian/optify file with "auto" in it. Then run maemo-optify-deb for debs produced with dpkg-buildpackage.
Other option is to install directly to /opt/boulderdash directory
![]() |
2010-01-14
, 20:55
|
Posts: 452 |
Thanked: 522 times |
Joined on Nov 2007
|
#14
|
Installing directly to /opt is working very well so far, as i've done it already. The only problem is that i don't know how to remove the symlinks while removing the package.
I guess i could just transfer the .deb to the N900, run maemo-optify on it there, and get the package back. It seems kind of an unnecessary hassle to me. I already know where the files have to be, and i already know that there has to be some symlinks in the right places, so why can't i just make a .deb that does that automatically?
The Following User Says Thank You to Nathan For This Useful Post: | ||
![]() |
2010-01-14
, 21:05
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#15
|
Installing directly to /opt is working very well so far, as i've done it already. The only problem is that i don't know how to remove the symlinks while removing the package.
The Following User Says Thank You to mikkov For This Useful Post: | ||
![]() |
2010-01-14
, 21:06
|
Posts: 21 |
Thanked: 14 times |
Joined on Dec 2009
@ Turku, Finland
|
#16
|
![]() |
2010-01-14
, 21:09
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#17
|
![]() |
2010-01-14
, 21:14
|
Posts: 21 |
Thanked: 14 times |
Joined on Dec 2009
@ Turku, Finland
|
#18
|
You shouldn't create any symlinks in postinst script. If you really need them, they should be included in the actual package. I think dh_link can help creating them http://man.he.net/man1/dh_link