[Slackbuilds-users] postgrey.SlackBuild incorrect user/group search replace

Willy Sudiarto Raharjo willysr at slackbuilds.org
Fri Jul 29 23:56:05 UTC 2016


> The sed statements in postgrey.SlackBuild fail to replace the user and
> group in rc.postgrey. The following diff should fix things:
> 
> diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild
> index 83d28a8..279bbff 100644
> --- a/network/postgrey/postgrey.SlackBuild
> +++ b/network/postgrey/postgrey.SlackBuild
> @@ -98,8 +98,8 @@ cp -a \
>     $PKG/usr/bin
>  
>  mkdir -p $PKG/etc/rc.d
> -sed -e s/%%POSTGREYUSR%%/$POSTGREYUSR/g \
> -    -e s/%%POSTGREYGRP%%/$POSTGREYGRP/g \
> +sed -e s/%POSTGREYUSR%/$POSTGREYUSR/g \
> +    -e s/%POSTGREYGRP%/$POSTGREYGRP/g \
>      $CWD/rc.postgrey > $PKG/etc/rc.d/rc.postgrey.new

Fixed

Thanks


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160730/f2798b80/attachment.asc>


More information about the SlackBuilds-users mailing list