From d81b6f855ef8e5be34289bbc129f51aff9dcd1e8 Mon Sep 17 00:00:00 2001 From: nginn Date: Sun, 27 Dec 2015 18:19:24 +0300 Subject: [PATCH] new debian rules with installation to /usr/bin --- installers/deb_package_build/debian/postinst | 3 +++ installers/deb_package_build/debian/rules | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 installers/deb_package_build/debian/postinst diff --git a/installers/deb_package_build/debian/postinst b/installers/deb_package_build/debian/postinst new file mode 100644 index 00000000..c5378f98 --- /dev/null +++ b/installers/deb_package_build/debian/postinst @@ -0,0 +1,3 @@ +#!/bin/bash + +ln -s /usr/bench/bin/bench /usr/bin/bench diff --git a/installers/deb_package_build/debian/rules b/installers/deb_package_build/debian/rules index 4b780e69..9555db03 100755 --- a/installers/deb_package_build/debian/rules +++ b/installers/deb_package_build/debian/rules @@ -1,3 +1,5 @@ #!/usr/bin/make -f +export DH_VIRTUALENV_INSTALL_ROOT=/usr/ %: - dh $@ --with python-virtualenv + dh $@ --install-suffix '' --with python-virtualenv +