Skip to content

Commit 224e795

Browse files
authored
Merge pull request #32 from geekdinazor/main
fix: fix flatpak
2 parents 5426a90 + fecafeb commit 224e795

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

flatpak/com.furkankalkan.FinchS3.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ modules:
3535
# Find botocore version and trim it
3636
- |
3737
BOTOCORE_PATH=$(python3 -c "import botocore; print(botocore.__path__[0])")
38-
cd $BOTOCORE_PATH/data
39-
for dir in *; do
40-
if [[ ! "$dir" =~ ^s3.* ]]; then
41-
rm -rf "$dir"
42-
fi
43-
done
38+
find $BOTOCORE_PATH/data -maxdepth 1 -type d ! -name s3\* ! -path $BOTOCORE_PATH/data -exec rm -rf {} \;
4439
4540
- name: python3-requirements
4641
buildsystem: simple

0 commit comments

Comments
 (0)