[pkg-kolab] r233 - trunk/kolabd/debian
Noel Koethe
noel at costa.debian.org
Thu Jan 26 12:14:44 UTC 2006
Author: noel
Date: 2006-01-26 12:14:44 +0000 (Thu, 26 Jan 2006)
New Revision: 233
Modified:
trunk/kolabd/debian/postinst
Log:
create cachefiles if they dont exists in postinst
Modified: trunk/kolabd/debian/postinst
===================================================================
--- trunk/kolabd/debian/postinst 2006-01-26 12:13:50 UTC (rev 232)
+++ trunk/kolabd/debian/postinst 2006-01-26 12:14:44 UTC (rev 233)
@@ -29,11 +29,23 @@
fi
}
+create_cachefiles() {
+ if ! [ -f /var/lib/kolab/mailbox-uidcache.db ] ; then
+ echo "Creating Mailbox UID cache file"
+ /usr/sbin/kolabdcachetool mbox flush
+ fi
+ if ! [ -f /var/lib/kolab/graveyard-tscache.db ] ; then
+ echo "Creating Graveyard files"
+ /usr/sbin/kolabdcachetool gyard flush
+ fi
+}
+
case "$1" in
configure)
add_kolab_system_users
fixperms
create_log
+ create_cachefiles
;;
abort-upgrade|abort-deconfigure|abort-remove)
:
More information about the pkg-kolab-devel
mailing list