projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2dfc7
)
Deb postinst warns about obsolete pazpar2.cfg
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Jan 2010 12:51:52 +0000
(13:51 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Jan 2010 12:51:52 +0000
(13:51 +0100)
debian/pazpar2.postinst
patch
|
blob
|
history
diff --git
a/debian/pazpar2.postinst
b/debian/pazpar2.postinst
index
bf54741
..
46690ae
100644
(file)
--- 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