java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 53ce9f6790b14578235b43a7a28bb9f6ba7a7925 Author: Jan Pazdziora jpazdziora@redhat.com Date: Wed Oct 26 13:16:45 2011 +0200
The -n and -p are exclusive in perl, let us just settle on -p.
diff --git a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java index 4dcc559..8dbd68e 100644 --- a/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java +++ b/java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java @@ -923,7 +923,7 @@ public class KickstartFormatter {
retval.append("cat /tmp/ssl-key-* > /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT" + NEWLINE); - retval.append("perl -npe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' " + + retval.append("perl -pe 's/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g' " + "-i /etc/sysconfig/rhn/*" + NEWLINE);
return retval.toString();
spacewalk-commits@lists.fedorahosted.org