From 0689f2dfd576adaaab198c2c822d30956e1d1146 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sat, 31 Mar 2012 20:15:04 +0200 Subject: [PATCH] Do not use absolute path in postinst command. --- debian/linkchecker.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/linkchecker.postinst b/debian/linkchecker.postinst index 901fd8c7..e5038424 100755 --- a/debian/linkchecker.postinst +++ b/debian/linkchecker.postinst @@ -30,7 +30,7 @@ dpkg-maintscript-helper rm_conffile /etc/linkchecker/logging.conf 7.3 -- "$@" # reload apache configuration if [ "$1" = "configure" -a -x /etc/init.d/apache2 ]; then - /usr/sbin/invoke-rc.d apache2 reload || true + invoke-rc.d apache2 reload || true fi exit 0