|
@@ -856,7 +856,13 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/drupal/sites/default/
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/drupal/sites/default/
|
|
|
|
|
|
|
|
# install run-command script
|
|
# install run-command script
|
|
|
|
|
+%if "%{with_dcron}" == "yes"
|
|
|
|
|
+ l_drupal_cron="no"
|
|
|
|
|
+%else
|
|
|
|
|
+ l_drupal_cron="yes"
|
|
|
|
|
+%endif
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
|
|
+ -e "s;@l_drupal_cron@;$l_drupal_cron;g" \
|
|
|
%{SOURCE rc.drupal} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
%{SOURCE rc.drupal} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
|
|
|
|
|
# install database setup script
|
|
# install database setup script
|