IPK package install/un-install ?

  • I have made an IPK plugin package. I noticed (actually been informed) that the plugin when un-installed it is not removed from the menu.


    After checking, I noticed that the plugin is not removed because the .pyc files that are generated by enigma2 are not removed from when the IPK is un-installed.


    I included the .pyc files in the IPK package and everything was ok afterwards.


    BUT, as per my understanding, the .pyc should be generated by the target it self, so the IPK must not include these files, is that correct?


    If so, then how can I force IPK to remove these files when the plugin is un-installed?

    Einmal editiert, zuletzt von laith.said ()

  • create a prerm file in the driectory where you place the control file and in this shell script place the rm /path/*.pyc command, then removing of the plugindirectory and the other files should work as it should