diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-02-13 13:21:12 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-02-13 13:21:12 +0100 |
commit | a38f100eb8626e0c7da0f34e89dda6d01c0a03f3 (patch) | |
tree | a1a073baffd8ec2769697bf95d5e7c7cc4336645 | |
parent | d51810155604fa8e9a3950cc60973885fa0719aa (diff) |
-rw-r--r-- | ocsinventory.spec | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ocsinventory.spec b/ocsinventory.spec index d376732..648bcf7 100644 --- a/ocsinventory.spec +++ b/ocsinventory.spec @@ -177,7 +177,7 @@ sed -e 's;PATH_TO_LOG_DIRECTORY;%{_localstatedir}/log/ocsinventory-server;' \ # default configuration (localhost) should work on "simple" installation mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d -%{__sed} -e "s;DATABASE_SERVER;localhost;g" \ +sed -e "s;DATABASE_SERVER;localhost;g" \ -e "s;DATABASE_PORT;3306;g" \ %if 0%{?rhel} == 4 -e "s;VERSION_MP;1;g" \ @@ -204,7 +204,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/ocsinventory/ocsinventory-reports mv %{buildroot}%{_datadir}/ocsinventory-reports/ocsreports/dbconfig.inc.php \ %{buildroot}%{_sysconfdir}/ocsinventory/ocsinventory-reports/dbconfig.inc.php -# Not usefull for now (path is harcoded) sed -i -e '/CONF_MYSQL/s;dbconfig.inc.php;%{_sysconfdir}/ocsinventory/ocsinventory-reports/dbconfig.inc.php;' \ %{buildroot}%{_datadir}/ocsinventory-reports/ocsreports/var.php @@ -222,8 +221,6 @@ sed -e "s;OCSREPORTS_ALIAS;/ocsreports;g" \ -e "s;PATH_TO_OCSREPORTS_DIR;%{_datadir}/ocsinventory-reports/ocsreports;g" \ -e "s;PACKAGES_ALIAS;/download;g" \ -e "s;PATH_TO_PACKAGES_DIR;%{_localstatedir}/lib/ocsinventory-reports/download;g" \ - -e "s;SNMP_ALIAS;/snmp;g" \ - -e "s;PATH_TO_SNMP_DIR;%{_localstatedir}/lib/ocsinventory-reports/snmp;g" \ %{SOURCE1} >%{buildroot}%{_sysconfdir}/httpd/conf.d/ocsinventory-reports.conf |