mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-08 05:04:21 +08:00
✨ Sync 2026-10-11 20:48:25
This commit is contained in:
1 parent
78f0ba8251
commit
5ce75c9f2b
45 files changed
+54
-879
No files matched your search
@@ -35,12 +35,6 @@ check_list_update() {
|
||||
return 2
|
||||
fi
|
||||
|
||||
# --header= is the only header switch understood by all three wget
|
||||
# implementations this runs on (uclient-fetch, GNU wget, busybox wget);
|
||||
# the previous --header-file= is rejected by uclient-fetch and GNU wget
|
||||
# alike, which made every version probe fail whenever a GitHub token was
|
||||
# configured. The token is therefore visible in `ps` for the duration of
|
||||
# the request; that is the trade-off for a single code path.
|
||||
local api_url="https://api.github.com/repos/$listrepo/commits?sha=$listref&path=$listname&per_page=1"
|
||||
local list_info
|
||||
if [ -n "$github_token" ]; then
|
||||
|
||||
Reference in new issue
Block a user