diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-05 11:44:45 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-05 11:54:36 +1100 |
commit | 8c7cf499abf880cd4915e1b831298feb8990245b (patch) | |
tree | dc8bafcedb167209b74592d65ecb92857c5db946 /source4/script/installmisc.sh | |
parent | 2d30f4fb4fd39fb0949cd948559725917f95742f (diff) | |
download | samba-8c7cf499abf880cd4915e1b831298feb8990245b.tar.gz samba-8c7cf499abf880cd4915e1b831298feb8990245b.tar.xz samba-8c7cf499abf880cd4915e1b831298feb8990245b.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/script/installmisc.sh')
-rwxr-xr-x | source4/script/installmisc.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh index 73dbdd996fc..fecd1ebbf6f 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 |