update the search function

This commit is contained in:
idan committed 2022-06-01 16:10:33 +03:00
1 parent 5364e3e3e1
commit 3fcdffd727
3 files changed
+2 -2

No files matched your search

Regular → Executable
View File
File mode changed.
+2 -2
View File
@@ -14,7 +14,7 @@ print_help() {
search_package() { search_package() {
local package=$1 local package=$1
curl https://pypi.org/project/$package/\#files -s | grep -Eo https://files\.+$package\.+whl > urls.txt curl https://pypi.org/project/$package/\#files -s | grep -Eo https://files\.+\.+whl > urls.txt
} }
download_package() { download_package() {
@@ -59,4 +59,4 @@ main() {
fi fi
} }
main $@ main $@
Executable
View File
Whitespace-only changes.