[interchange-cvs] interchange - racke modified
debian/interchange.cron.daily
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Tue Feb 3 05:49:42 EST 2004
User: racke
Date: 2004-02-03 10:49:42 GMT
Modified: debian interchange.cron.daily
Log:
check for existence of binary first
Revision Changes Path
2.1 +6 -1 interchange/debian/interchange.cron.daily
rev 2.1, prev_rev 2.0
Index: interchange.cron.daily
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange.cron.daily,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- interchange.cron.daily 18 Jul 2001 02:20:38 -0000 2.0
+++ interchange.cron.daily 3 Feb 2004 10:49:42 -0000 2.1
@@ -2,7 +2,7 @@
#
# cron script to expire sessions
#
-# Copyright 2000,2001 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2000,2001,2004 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,6 +18,11 @@
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
+
+if [ ! -x /usr/lib/interchange/bin/expireall ] ; then
+ # package probably removed
+ exit 0
+fi
# only accept value from /etc/interchange/init.cfg
USER=
More information about the interchange-cvs
mailing list