[lucene-solr] 03/05: Fix Lintian warnings command-with-path-in-maintainer-script.
Markus Koschany
apo-guest at moszumanska.debian.org
Thu Nov 19 22:08:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository lucene-solr.
commit a4d3508ba9a70e6b8e5e39e30b6a60958681c942
Author: Markus Koschany <apo at debian.org>
Date: Thu Nov 19 22:04:13 2015 +0100
Fix Lintian warnings command-with-path-in-maintainer-script.
---
debian/solr-jetty.postrm | 4 ++--
debian/solr-tomcat.postrm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/solr-jetty.postrm b/debian/solr-jetty.postrm
index bd7e410..3080591 100644
--- a/debian/solr-jetty.postrm
+++ b/debian/solr-jetty.postrm
@@ -6,7 +6,7 @@ case "$1" in
remove)
# If permissions for the stuff under /var/lib/solr haven't
# been removed, remove them now
- if [ -x /usr/bin/dpkg-statoverride ]; then
+ if [ -x dpkg-statoverride ]; then
if dpkg-statoverride --quiet --list /var/lib/solr > /dev/null ; then
dpkg-statoverride --quiet --remove /var/lib/solr
fi
@@ -16,7 +16,7 @@ case "$1" in
fi
fi
- if [ -x /usr/sbin/invoke-rc.d ]; then
+ if [ -x invoke-rc.d ]; then
invoke-rc.d jetty8 restart || true
fi
;;
diff --git a/debian/solr-tomcat.postrm b/debian/solr-tomcat.postrm
index cb4fe35..8e31d9c 100644
--- a/debian/solr-tomcat.postrm
+++ b/debian/solr-tomcat.postrm
@@ -5,7 +5,7 @@ set -e
case "$1" in
remove)
rm -f /etc/tomcat7/policy.d/05solr.policy
- if [ -x /usr/sbin/invoke-rc.d ]; then
+ if [ -x invoke-rc.d ]; then
invoke-rc.d tomcat7 restart || true
fi
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene-solr.git
More information about the pkg-java-commits
mailing list