Author: glen                         Date: Fri Oct  3 17:13:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- less noise on first install

---- Files affected:
SPECS:
   eventum.spec (1.286 -> 1.287) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.286 SPECS/eventum.spec:1.287
--- SPECS/eventum.spec:1.286    Tue Sep 30 18:21:41 2008
+++ SPECS/eventum.spec  Fri Oct  3 19:13:08 2008
@@ -13,7 +13,7 @@
 
 #define        snap    20060921
 %define        svn             r3729
-%define        rel             0.34
+%define        rel             0.40
 #define        _rc             RC3
 
 %include       /usr/lib/rpm/macros.php
@@ -569,7 +569,8 @@
 
 # config
 > $RPM_BUILD_ROOT%{_webappdir}/setup.php
-> $RPM_BUILD_ROOT%{_webappdir}/config.php
+cat <<'EOF'> $RPM_BUILD_ROOT%{_webappdir}/config.php
+EOF
 
 install -d $RPM_BUILD_ROOT%{_smartyplugindir}
 # These plugins are not in Smarty package (Smarty-2.6.2-3)
@@ -665,6 +666,13 @@
 EOF
 fi
 
+# greate empty ghost files
+for a in cli.log errors.log irc_bot.log login_attempts.log; do
+       if [ ! -f /var/log/%{name}/$a ]; then
+               install -m620 -oroot -geventum /dev/null /var/log/%{name}/$a
+       fi
+done
+
 # database update
 %{_appdir}/upgrade/update-database.php || :
 
@@ -896,6 +904,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.287  2008/10/03 17:13:08  glen
+- less noise on first install
+
 Revision 1.286  2008/09/30 16:21:41  qboosh
 - typo
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/eventum.spec?r1=1.286&r2=1.287&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to