Re: softlink creation in debian package
Ansgar Burchardt wrote on 2012-04-23 13:53: > On 04/23/2012 11:19 AM, karunakar medamoni wrote: > As Bruno already said you can do so with dh_link(1), but note that it is > wrong for a package in the official archive to ship files in /var/www. A good way is using postinst script for check the environment and in defined cases creating a softlink. --- Have a nice day. Joachim (Germany) -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120423164837.060b0...@jupiter.home
Re: softlink creation in debian package
On 04/23/2012 11:19 AM, karunakar medamoni wrote: > how to create symlink for a webapplication from > /usr/share/package-name to /var/www/package-name in debian package. > means when ever i will installed webapplicaton in any machine it > automatically create a symlink debian itself. As Bruno already said you can do so with dh_link(1), but note that it is wrong for a package in the official archive to ship files in /var/www. Regards, Ansgar -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f95429d.2010...@debian.org
Re: softlink creation in debian package
See debian/links file. -- *Braga, Bruno* www.brunobraga.net bruno.br...@gmail.com On Mon, Apr 23, 2012 at 7:19 PM, karunakar medamoni < kannaiah.chi...@gmail.com> wrote: > Hello > > how to create symlink for a webapplication from > /usr/share/package-name to /var/www/package-name in debian package. > means when ever i will installed webapplicaton in any machine it > automatically create a symlink debian itself. > > -- > Regards > > karunakar > Department of sanskrit studies, > SHMT project, > University of Hyderabad,hyd, > 9491388035. > > > -- > To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > http://lists.debian.org/capewm+ttnodgle6gar+a+go_8h-_ywjt4nesk+q664zjzk...@mail.gmail.com > >