![]() |
2009-10-30
, 12:47
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#2
|
For I wanted to have a directory in /home/user I created the directories: (/home/user/my_dir/config/my_config.conf and /home/user/my_dir/icons/my_icon.png) under DEBIAN folder like I made others (/etc and /usr) and also wrote postinst and prerm where prerm copies the .conf file to /home/user/.my_conf.conf before removing application so the settings can be used later if the user again installs the application and postinst moves the /home/user/.my_conf.conf back to the actual location which is (/home/user/my_dir/config) if the file exists.
With this, while uninstalling, dpkg warns me that /home/user can't be removed and uninstalling fails. Any help would be great. Thanks
The Following User Says Thank You to mikkov For This Useful Post: | ||
![]() |
2009-10-30
, 13:40
|
|
Posts: 3,105 |
Thanked: 11,088 times |
Joined on Jul 2007
@ Mountain View (CA, USA)
|
#3
|
The Following User Says Thank You to qgil For This Useful Post: | ||
![]() |
2009-10-30
, 16:54
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#4
|
Hi, please help finding what is missing and what could be improved at http://wiki.maemo.org/Documentation/...d_Distributing
![]() |
2009-10-30
, 18:14
|
Posts: 883 |
Thanked: 980 times |
Joined on Jul 2007
@ Bern, Switzerland
|
#5
|
The Following User Says Thank You to twaelti For This Useful Post: | ||
![]() |
2009-10-30
, 23:19
|
|
Posts: 170 |
Thanked: 261 times |
Joined on Feb 2009
@ Gothenburg, Sweden
|
#6
|
With this, while uninstalling, dpkg warns me that /home/user can't be removed and uninstalling fails. Any help would be great. Thanks
The Following User Says Thank You to jeremiah For This Useful Post: | ||
I'm trying to create a .deb package of my application and after going through various sources in the net, I've come to know few basic things but still there are lot of things I'm still confused about so thought I'll ask here. I could create a basic .deb package and are both installable and uninstallable but trying to make one with all my requirements, I'm having problem to make a clean uninstallable one as it does install nice. Below are my requirements:
I know these are the basic things but the one I tried was even without these things
For I wanted to have a directory in /home/user I created the directories: (/home/user/my_dir/config/my_config.conf and /home/user/my_dir/icons/my_icon.png) under DEBIAN folder like I made others (/etc and /usr) and also wrote postinst and prerm where prerm copies the .conf file to /home/user/.my_conf.conf before removing application so the settings can be used later if the user again installs the application and postinst moves the /home/user/.my_conf.conf back to the actual location which is (/home/user/my_dir/config) if the file exists.
With this, while uninstalling, dpkg warns me that /home/user can't be removed and uninstalling fails. Any help would be great. Thanks