On Fri, Oct 25, 2013 at 12:25:54PM -0700, ggmartins wrote:
> > +endef
> > +
> > +define Build/Compile
> > +endef
> > +
> > +define Package/bismark-opkg-keys/install
> > +	$(INSTALL_DIR) $(1)/etc/ssl
> > +	$(INSTALL_DATA) ./files/etc/ssl/serverCA.pem $(1)/etc/ssl/serverCA.pem
> > +endef
> > +
> > +define Package/bismark-opkg-keys/postinst
> > +#!/bin/sh                                                                                                                          
> > +
> > +if [ -z "$${IPKG_INSTROOT}" ]; then                                                                                                                                   
> > +    if  ! grep -Fs "signature" /etc/opkg.conf >/dev/null ; then
> > +        sed -i '$$aoption check_signature 1'  /etc/opkg.conf
> 
> $a it's an append cmd.. the $$ is to make the openwrt packaging system
> ignore any instruction.

Cool, didn't know aobut $a in sed. Thanks for the tip.

> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/projectbismark/bismark-packages/pull/9/files#r7225715