We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5426a90 + fecafeb commit 224e795Copy full SHA for 224e795
flatpak/com.furkankalkan.FinchS3.yml
@@ -35,12 +35,7 @@ modules:
35
# Find botocore version and trim it
36
- |
37
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
+ find $BOTOCORE_PATH/data -maxdepth 1 -type d ! -name s3\* ! -path $BOTOCORE_PATH/data -exec rm -rf {} \;
44
45
- name: python3-requirements
46
buildsystem: simple
0 commit comments