From: Ian Jackson Date: Sun, 14 Sep 2014 15:57:28 +0000 (+0100) Subject: make-secnet-sites: Put our path component at the beginning X-Git-Tag: debian/0.3.3_beta1~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=90ad8cd46ff9870c19fe26b1f90c8abece5cc0da;hp=79c6c87cf81e29ba5b881f68e94ab9994ed87f24;p=secnet.git make-secnet-sites: Put our path component at the beginning Otherwise installing the modern `ipaddr' python module (as found eg python-ipaddr.deb) breaks secnet, because it will appear on the path before our own copy of the Cendio Systems AB one. Signed-off-by: Ian Jackson --- diff --git a/make-secnet-sites b/make-secnet-sites index 966bb77..b8a2077 100755 --- a/make-secnet-sites +++ b/make-secnet-sites @@ -57,8 +57,8 @@ import getopt import re # The ipaddr library is installed as part of secnet -sys.path.append("/usr/local/share/secnet") -sys.path.append("/usr/share/secnet") +sys.path.insert(0,"/usr/local/share/secnet") +sys.path.insert(0,"/usr/share/secnet") import ipaddr VERSION="0.1.18"