Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5928784ba9 | |||
|
|
0a5229f4f6 | ||
|
|
340c2b3505 |
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
REPO="https://api.github.com/repos/itdoginfo/podkop/releases/latest"
|
||||
REPO="https://git.encrypt-t.ru/yanistye/podkop/releases/latest"
|
||||
DOWNLOAD_DIR="/tmp/podkop"
|
||||
COUNT=3
|
||||
|
||||
@@ -26,7 +26,7 @@ main() {
|
||||
fi
|
||||
|
||||
if command -v curl &> /dev/null; then
|
||||
check_response=$(curl -s "https://api.github.com/repos/itdoginfo/podkop/releases/latest")
|
||||
check_response=$(curl -s "https://git.encrypt-t.ru/yanistye/podkop/releases/latest")
|
||||
|
||||
if echo "$check_response" | grep -q 'API rate limit '; then
|
||||
msg "You've reached rate limit from GitHub. Repeat in five minutes."
|
||||
|
||||
Reference in New Issue
Block a user