From 8c7cf499abf880cd4915e1b831298feb8990245b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 5 Mar 2010 11:44:45 +1100 Subject: s4-python: allow us to have samba copies of python libraries we depend on For python libraries like dns.resolver it is useful to be able to install a copy of the library with Samba. This set of functions allows us to do that while using the locally installed version if it is available Pair-Programmed-With: Andrew Bartlett --- source4/script/installmisc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/script/installmisc.sh') diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 73dbdd996f..fecd1ebbf6 100755 --- a/source4/script/installmisc.sh +++ b/source4/script/installmisc.sh @@ -81,4 +81,8 @@ cp setup/provision.smb.conf.member $SETUPDIR || exit 1 cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1 cp setup/dns_update_list $SETUPDIR || exit 1 +echo "Installing external python libraries" +mkdir -p $PYTHONDIR/samba_external || exit 1 +cp -r scripting/python/samba_external/* $PYTHONDIR/samba_external/ || exit 1 + exit 0 -- cgit