]> git.pld-linux.org Git - packages/asa.git/commitdiff
- sed edit
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Apr 2006 17:39:56 +0000 (17:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asa.spec -> 1.20

asa.spec

index 0faf2db2b74263491fbcaf3480991731cf71a574..019fcacbf364780335211ecbbf912d2182058d0b 100644 (file)
--- a/asa.spec
+++ b/asa.spec
@@ -21,6 +21,7 @@ URL:          http://www.apatsch.wroc.biz/asa/
 BuildRequires: rpm-perlprov
 Requires(post):        /usr/bin/perl
 Requires(post,preun):  /sbin/chkconfig
+Requires(post):        sed >= 4.0
 Requires(pre): jabber-common
 Requires:      jabberd >= 1.4
 Requires:      perl-Crypt-SSLeay
@@ -68,7 +69,7 @@ if [ -f /etc/jabber/secret ] ; then
        SECRET=`cat /etc/jabber/secret`
        if [ -n "$SECRET" ] ; then
                echo "Updating component authentication secret in asa.xml..."
-               perl -pi -e "s/>secret</>$SECRET</" /etc/jabber/asa.xml
+               %{__sed} -i -e "s/>secret</>$SECRET</" /etc/jabber/asa.xml
        fi
 fi
 /sbin/chkconfig --add jabber-asa-transport
This page took 0.0675750000000001 seconds and 4 git commands to generate.