mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #4684 from commodo/python-fix-opkg-collisions
python,python3: fix opkg collisions with -src packages
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user