[pkg-kolab] r1347 - kolab-cyrus-imapd/scripts

Mathieu Parent sathieu at alioth.debian.org
Thu Oct 1 17:22:51 UTC 2009


Author: sathieu
Date: 2009-10-01 17:22:51 +0000 (Thu, 01 Oct 2009)
New Revision: 1347

Modified:
   kolab-cyrus-imapd/scripts/kolab-cyrus-merge
Log:
Check for existence of the merge command


Modified: kolab-cyrus-imapd/scripts/kolab-cyrus-merge
===================================================================
--- kolab-cyrus-imapd/scripts/kolab-cyrus-merge	2009-09-23 19:46:43 UTC (rev 1346)
+++ kolab-cyrus-imapd/scripts/kolab-cyrus-merge	2009-10-01 17:22:51 UTC (rev 1347)
@@ -73,6 +73,10 @@
 	error "directory $kolab_new_dir already exists"
 fi
 
+if [ ! "$(command -v merge)" ]; then
+    error "merge is not installed (package rcs)"
+fi
+
 cp -a $cyrus_new_dir $kolab_new_dir
 
 




More information about the pkg-kolab-devel mailing list