Active Topics

 


Reply
Thread Tools
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#1
Hi there.

I have a question concerning the files set in the .pro file.

Ex :

Code:
INSTALLS += target
target.path = $$PREFIX/opt/autodisconnect
INSTALLS += desktop
desktop.path = $$PREFIX/usr/share/applications/hildon
desktop.files = data/autodisconnect.desktop
INSTALLS += autodisconnect-up
autodisconnect-up.path = $$PREFIX/etc/network/if-up.d/
autodisconnect-up.files = data/scripts/if-up.d/99_autodisconnect
How to specify which are configuration files and which aren't ?

Right now when I build my package (dpkg-buildpackage) the etc/network/if-up.d/99_autodisconnect file is added automatically to the DEBIAN/file conffiles. It means it will only be removed when using dpkg with the --purge option. I would like it to be considered as a regular file in order for it to be removed with the simple option --remove.

Thanks!

Last edited by calvin_42; 2010-02-20 at 04:39.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:15.