From b59a90b639878cfd94d49e8d2a458c9fade4a18b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@koumbit.org>
Date: Sat, 18 Oct 2014 14:27:02 -0400
Subject: [PATCH] fix monkeyscan symlink, closes #743150

---
 debian/changelog | 1 +
 debian/rules     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 51b49da..b8153a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ monkeysign (2.0.0) unstable; urgency=medium
       (Closes: #756540)
     * some improvements were done in the GnuPG library to work around
       certain GnuPG corner cases and describe problems better
+    * install monkeyscan command as a symlink properly (Closes: #743150)
   * switch to long term support strategy for the 2.0.x release in
     preparation for Debian Jessie
 
diff --git a/debian/rules b/debian/rules
index 6a92014..a7baa54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,9 @@ export DH_OPTIONS
 
 %:
 	dh $@  --with=python2
+
+override_dh_auto_install:
+	dh_auto_install
+        # workaround a limitation in distutils, see
+        # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743150
+	ln -sf monkeysign debian/monkeysign/usr/bin/monkeyscan
-- 
GitLab