X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/4e60b389634568bcf4cc5009fa37bba3eb381482..940be80e3e40dbbbd84161e1e5ae3abf0b2eadf6:/debian/courier-authlib-postgresql.prerm?ds=sidebyside diff --git a/debian/courier-authlib-postgresql.prerm b/debian/courier-authlib-postgresql.prerm index 31c83ba..b1e91c5 100644 --- a/debian/courier-authlib-postgresql.prerm +++ b/debian/courier-authlib-postgresql.prerm @@ -1,6 +1,6 @@ #! /bin/sh -e # -# Copyright 2001,2005 by Stefan Hornburg +# Copyright 2000,2005,2009 by Stefan Hornburg # # 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,8 +18,8 @@ # MA 02111-1307 USA. # we need to restart authdaemon -if [ -x /usr/sbin/authdaemond ]; then - /usr/sbin/authdaemond restart +if which authdaemond >/dev/null 2>&1; then + authdaemond restart fi #DEBHELPER#