[Lunar-commits] <moonbase> logrotate: touch logrotate.status

Stefan Wold ratler at lunar-linux.org
Sat Nov 7 15:37:32 CET 2009


commit eef3f32665f745b8e2d1406fba246246dd3593ca
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sat Nov 7 15:37:32 2009 +0100

    logrotate: touch logrotate.status
---
 utils/logrotate/BUILD |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/logrotate/BUILD b/utils/logrotate/BUILD
index ccb3aaf..9880d8e 100644
--- a/utils/logrotate/BUILD
+++ b/utils/logrotate/BUILD
@@ -7,10 +7,10 @@
   prepare_install                    &&
   make install                       &&
 
-  mkdir -p /etc/logrotate.d \
-           /var/lib/logrotate &&
+  mkdir -p /etc/logrotate.d          &&
+  touch /var/lib/logrotate.status    &&
 
-  if [ ! -e /etc/logrotate.conf ] ; then
+  if [ ! -e /etc/logrotate.conf ]; then
     install -m 0644 examples/logrotate-default /etc/logrotate.conf
   fi &&
 


More information about the Lunar-commits mailing list