Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

check for existence of binary first

  • Loading branch information...
commit 60d73cb793e360c87c263718c63b4c4570371a58 1 parent fd078d7
@racke racke authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 debian/interchange.cron.daily
View
7 debian/interchange.cron.daily
@@ -2,7 +2,7 @@
#
# cron script to expire sessions
#
-# Copyright 2000,2001 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2000,2001,2004 by Stefan Hornburg (Racke) <racke@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
@@ -19,6 +19,11 @@
# 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=
. /etc/interchange/init.cfg
Please sign in to comment.
Something went wrong with that request. Please try again.