summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-01 15:32:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-01 15:33:08 +0200
commitc63440e040798722288a530a64e59d19344c63ee (patch)
treed91bb743bd56706507dac915e1bb5962ebc43cd5
parent84891b048d577e52da91c64d310f7bafa115d015 (diff)
downloadsamba-c63440e040798722288a530a64e59d19344c63ee.tar.gz
samba-c63440e040798722288a530a64e59d19344c63ee.tar.bz2
samba-c63440e040798722288a530a64e59d19344c63ee.zip
s4-python: Ensure __init__ exists in samba.external, or importing will fail.
-rwxr-xr-xsource4/script/installmisc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index 5538681c52..32a2ee4ec6 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -89,6 +89,7 @@ do
package=`basename $p`
echo "Installing missing python package $package"
mkdir -p $DESTDIR$PYTHONDIR/samba/external/$package
+ touch $DESTDIR$PYTHONDIR/samba/external/__init__.py
cp -r ../lib/$p/* $DESTDIR$PYTHONDIR/samba/external/$package/ || exit 1
done