From 865998d00b8b2e1b0c51fc5e77195a1592e170bb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 15 Jan 2010 13:51:52 +0100 Subject: [PATCH] Deb postinst warns about obsolete pazpar2.cfg --- debian/pazpar2.postinst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/pazpar2.postinst b/debian/pazpar2.postinst index bf54741..46690ae 100644 --- a/debian/pazpar2.postinst +++ b/debian/pazpar2.postinst @@ -11,7 +11,10 @@ if [ -x "/etc/init.d/pazpar2" ]; then else /etc/init.d/pazpar2 start || exit $? fi - ln -sf ../services-available/default.xml \ - /etc/pazpar2/services-enabled/default.xml +fi +ln -sf ../services-available/default.xml \ + /etc/pazpar2/services-enabled/default.xml +if [ -f "/etc/pazpar2/pazpar2.cfg" ]; then + echo "pazpar2.cfg is obsolete. Pazpar2 uses /etc/pazpar2/server.xml" fi exit 0 -- 1.7.10.4