aboutsummaryrefslogtreecommitdiff
path: root/apk-file
diff options
context:
space:
mode:
Diffstat (limited to 'apk-file')
-rwxr-xr-xapk-file2
1 files changed, 2 insertions, 0 deletions
diff --git a/apk-file b/apk-file
index ede71d1..912d86a 100755
--- a/apk-file
+++ b/apk-file
@@ -1,5 +1,7 @@
#!/bin/sh
+# Search packages by contents
+
curl -s "https://pkgs.alpinelinux.org/contents?file=$1" |
awk '
/<td>/ { print }