Skip to content

Commit

Permalink
check for existence of binary first
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Feb 3, 2004
1 parent fd078d7 commit 60d73cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion debian/interchange.cron.daily
Expand Up @@ -2,7 +2,7 @@
# #
# cron script to expire sessions # 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 # 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 # it under the terms of the GNU General Public License as published by
Expand All @@ -19,6 +19,11 @@
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA. # 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 # only accept value from /etc/interchange/init.cfg
USER= USER=
. /etc/interchange/init.cfg . /etc/interchange/init.cfg
Expand Down

0 comments on commit 60d73cb

Please sign in to comment.