diff --git a/mcjoin/debian/changelog b/mcjoin/debian/changelog index a42b11b..bb092c5 100644 --- a/mcjoin/debian/changelog +++ b/mcjoin/debian/changelog @@ -1,3 +1,11 @@ +mcjoin (1.5-2) unstable; urgency=low + + * Take care to setup symlink in /usr/local/bin/mcjoin as well, + and remove it in both preinst and postrm. This to handle systems with a + locally built older version. + + -- Joachim Nilsson Fri, 18 Jul 2014 09:22:26 +0200 + mcjoin (1.5-1) unstable; urgency=low * Initial release. diff --git a/mcjoin/debian/dirs b/mcjoin/debian/dirs index 236670a..7252785 100644 --- a/mcjoin/debian/dirs +++ b/mcjoin/debian/dirs @@ -1 +1,2 @@ usr/sbin +usr/local/bin diff --git a/mcjoin/debian/postinst b/mcjoin/debian/postinst index c1fc8b9..af790b2 100644 --- a/mcjoin/debian/postinst +++ b/mcjoin/debian/postinst @@ -2,4 +2,6 @@ set -e +ln -s /usr/sbin/mcjoin /usr/local/bin/mcjoin + #DEBHELPER# diff --git a/mcjoin/debian/preinst b/mcjoin/debian/preinst index c1fc8b9..40f51d9 100644 --- a/mcjoin/debian/preinst +++ b/mcjoin/debian/preinst @@ -2,4 +2,6 @@ set -e +rm -f /usr/local/bin/mcjoin + #DEBHELPER# diff --git a/mcjoin/debian/prerm b/mcjoin/debian/prerm index c1fc8b9..40f51d9 100644 --- a/mcjoin/debian/prerm +++ b/mcjoin/debian/prerm @@ -2,4 +2,6 @@ set -e +rm -f /usr/local/bin/mcjoin + #DEBHELPER#