From 442b846628c21fb1daba32ab35fb4258a464c3f1 Mon Sep 17 00:00:00 2001 From: CodeRoK7 <58553260+CodeRoK7@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:31:22 +0500 Subject: [PATCH] Change source url Podkop --- awg_config.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/awg_config.sh b/awg_config.sh index 5912460..95ac831 100644 --- a/awg_config.sh +++ b/awg_config.sh @@ -275,11 +275,13 @@ else if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then DOWNLOAD_DIR="/tmp/podkop" mkdir -p "$DOWNLOAD_DIR" - REPO="https://api.github.com/repos/itdoginfo/podkop/releases/tags/v0.2.5" - wget -qO- "$REPO" | grep -o 'https://[^"]*\.ipk' | while read -r url; do - filename=$(basename "$url") - echo "Download $filename..." - wget -q -O "$DOWNLOAD_DIR/$filename" "$url" + podkop_files="podkop_0.2.5-1_all.ipk + luci-app-podkop_0.2.5_all.ipk + luci-i18n-podkop-ru_0.2.5.ipk" + for file in $podkop_files + do + echo "Download $file..." + wget -q -O "$DOWNLOAD_DIR/$file" "$URL/$file" done opkg install $DOWNLOAD_DIR/podkop*.ipk opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk