Browse Source

Merge pull request #4684 from commodo/python-fix-opkg-collisions

python,python3: fix opkg collisions with -src packages
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
e4c4c724fd
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lang/python/python/files/python-package-install.sh
  2. +1
    -1
      lang/python/python3/files/python3-package-install.sh

+ 1
- 1
lang/python/python/files/python-package-install.sh View File

@ -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


+ 1
- 1
lang/python/python3/files/python3-package-install.sh View File

@ -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


Loading…
Cancel
Save