From: Adam Dickmeiss Date: Fri, 15 Jan 2010 12:51:52 +0000 (+0100) Subject: Deb postinst warns about obsolete pazpar2.cfg X-Git-Tag: v1.3.0~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=865998d00b8b2e1b0c51fc5e77195a1592e170bb;p=pazpar2-moved-to-github.git Deb postinst warns about obsolete pazpar2.cfg --- 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