index
:
alpine
master
minecraft
readme
sslproxy
useful scripts for Alpine Linux
Git
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rwxr-xr-x
apk-file
2
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 }