[PATCH] Creating /etc/cron.d directory in postinst to not fail if cron is not installed (Closes: #602570).

Daniel Baumann daniel at debian.org
Sat Nov 6 00:49:38 UTC 2010


---
 debian/postinst |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 242514b..214a59b 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -131,6 +131,7 @@ EOF
 #0 * * * * www-data [ -x /usr/sbin/rt-email-dashboards-3.8 ] && /usr/sbin/rt-email-dashboards-3.8
 EOF
     fi
+    mkdir -p /etc/cron.d
     ucf --debconf-ok $tfile /etc/cron.d/request-tracker3.8
     rm $tfile
 }
-- 
1.7.2.3


--------------080507090108080205050808--





More information about the pkg-request-tracker-maintainers mailing list