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

Andrew Clemons aclemons at runbox.no
Fri Jul 29 04:25:43 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
 
 mkdir -p $PKG/var/{lib,run}/postgrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160729/b9fc026d/attachment.asc>


More information about the SlackBuilds-users mailing list