Ignacio Valdes <[email protected]> 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to