aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-20 01:22:25 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-20 01:22:25 +0100
commitfb40bc617913ab7b357f4acd30e58dad399d366e (patch)
treebb026a9ae1fa4f780437809dc16e1e2899ec6a94
parent6e23c239779c290eb7f50a9718159eadd18e1a46 (diff)
downloadalpine-fb40bc617913ab7b357f4acd30e58dad399d366e.tar.gz
Add descriptive comment 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 }