X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=doc%2FPROGRAMMING;h=bcf1c13caaadfdc16d168ced6afabda9a9d9f0c1;hb=bf8aa790612fdce15a68b62356d1c06f2c190e0a;hp=b6d3d16e231aeaa9c744290667cddc4f0b271d21;hpb=928b13014c9e0cf3ed8352f87e4a83caba0547f3;p=debhelper.git diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index b6d3d16..bcf1c13 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -197,7 +197,7 @@ autoscript($package, $scriptname, $snippetname, $sedcommands) - script to add to - filename of snippet - sed commands to run on the snippet. Ie, s/#PACKAGE#/$PACKAGE/ - (optional) + (optional) Note: Passed to the shell inside double quotes. This command automatically adds shell script snippets to a debian maintainer script (like the postinst or prerm). Note that in v6 mode and up, the snippets are added in reverse