mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 03:26:43 +03:00
Change source url Podkop
This commit is contained in:
@@ -275,11 +275,13 @@ else
|
|||||||
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
if [ "$is_install_podkop" = "y" ] || [ "$is_install_podkop" = "Y" ]; then
|
||||||
DOWNLOAD_DIR="/tmp/podkop"
|
DOWNLOAD_DIR="/tmp/podkop"
|
||||||
mkdir -p "$DOWNLOAD_DIR"
|
mkdir -p "$DOWNLOAD_DIR"
|
||||||
REPO="https://api.github.com/repos/itdoginfo/podkop/releases/tags/v0.2.5"
|
podkop_files="podkop_0.2.5-1_all.ipk
|
||||||
wget -qO- "$REPO" | grep -o 'https://[^"]*\.ipk' | while read -r url; do
|
luci-app-podkop_0.2.5_all.ipk
|
||||||
filename=$(basename "$url")
|
luci-i18n-podkop-ru_0.2.5.ipk"
|
||||||
echo "Download $filename..."
|
for file in $podkop_files
|
||||||
wget -q -O "$DOWNLOAD_DIR/$filename" "$url"
|
do
|
||||||
|
echo "Download $file..."
|
||||||
|
wget -q -O "$DOWNLOAD_DIR/$file" "$URL/$file"
|
||||||
done
|
done
|
||||||
opkg install $DOWNLOAD_DIR/podkop*.ipk
|
opkg install $DOWNLOAD_DIR/podkop*.ipk
|
||||||
opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
opkg install $DOWNLOAD_DIR/luci-app-podkop*.ipk
|
||||||
|
|||||||
Reference in New Issue
Block a user