summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-08-09 07:19:48 +0300
committerGitHub <noreply@github.com>2017-08-09 07:19:48 +0300
commite4c4c724fda35d966fe102a31f8775b61f879eec (patch)
tree2b5c192b325789947aa57c70699758192c909908 /lang/python/python3
parentdac24333161424815a700fe5e51594f37320395e (diff)
parentd7fe1c624f1b834a20597c3ebf058946fd856c1c (diff)
Merge pull request #4684 from commodo/python-fix-opkg-collisions
python,python3: fix opkg collisions with -src packages
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/files/python3-package-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/files/python3-package-install.sh b/lang/python/python3/files/python3-package-install.sh
index cbb84ab1c..dd1e708fc 100644
--- a/lang/python/python3/files/python3-package-install.sh
+++ b/lang/python/python3/files/python3-package-install.sh
@@ -51,7 +51,7 @@ find "$dst_dir" -name "*.egg-info" | xargs rm -rf
if [ "$mode" == "sources" ] ; then
# Copy only python source files
- find $dst_dir -type f -not -name "*\.py" | xargs rm -f
+ find $dst_dir -not -type d -not -name "*\.py" | xargs rm -f
# Delete empty folders (if the case)
if [ -d "$dst_dir/usr" ] ; then