From 1488ebae4d358bc2075ee3c564644d05d281f2bf Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 11 Jun 2024 14:30:08 +0200 Subject: [PATCH] create index.php from source file Signed-off-by: Toshaan Bharvani --- SPECS/icingaweb2.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SPECS/icingaweb2.spec b/SPECS/icingaweb2.spec index 88f04b1..8b2aaee 100644 --- a/SPECS/icingaweb2.spec +++ b/SPECS/icingaweb2.spec @@ -117,13 +117,12 @@ cp -pv etc/bash_completion.d/icingacli %{buildroot}/%{_sysconfdir}/bash_completi cp -prv modules/{monitoring,setup,doc,translation} %{buildroot}/%{basedir}/modules cp -prv library/Icinga %{buildroot}/%{phpdir} cp -prv public/{css,font,img,js,error_norewrite.html,error_unavailable.html} %{buildroot}/%{basedir}/public -mv %{buildroot}/%{basedir}/public/icingaweb2.index.php %{buildroot}/%{basedir}/public/index.php cp -pv %{SOURCE5} %{buildroot}/%{wwwconfigdir}/icingaweb2.conf cp -pv %{SOURCE4} %{buildroot}/%{bindir} %if 0%{?php_bin:1} sed -i '1 s~#!.*~#!%{php_bin}~' %{buildroot}/%{bindir}/icingacli %endif -cp -pv %{SOURCE6} %{buildroot}/%{basedir}/public +cp -pv %{SOURCE6} %{buildroot}/%{basedir}/public/index.php cp -prv schema %{buildroot}/%{docsdir} #cp -prv packages/files/config/modules/{setup,translation} %{buildroot}/%{configdir}/modules cd selinux