Ignacio Valdes <ival...@hal-pc.org> writes:

> Hi, I want to define a variable such as package_initials in control
> file and be able to access %{package_initials} in postinst file. Do I
> define it in control file as:
>
> XC-package_initials: the_initials
>
> or some other way?
>
> -- IV

mv debian/postinst debian/postinst.in

and in rules do

        sed 's/%{package_initials}/initials/g' < debian/postinst.in > 
debian/<pkg>.postinst

MfG
        Goswin


-- 
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/87fx2jrhyo....@frosties.localdomain

Reply via email to