diff --git a/podkop_packets/luci-app-podkop-v0.6.2-r1-all.ipk b/podkop_packets/luci-app-podkop-v0.6.2-r1-all.ipk new file mode 100644 index 0000000..f686245 Binary files /dev/null and b/podkop_packets/luci-app-podkop-v0.6.2-r1-all.ipk differ diff --git a/podkop_packets/luci-i18n-podkop-ru-0.6.2.ipk b/podkop_packets/luci-i18n-podkop-ru-0.6.2.ipk new file mode 100644 index 0000000..a703f3e Binary files /dev/null and b/podkop_packets/luci-i18n-podkop-ru-0.6.2.ipk differ diff --git a/podkop_packets/podkop-v0.6.2-r1-all.ipk b/podkop_packets/podkop-v0.6.2-r1-all.ipk new file mode 100644 index 0000000..3446a77 Binary files /dev/null and b/podkop_packets/podkop-v0.6.2-r1-all.ipk differ diff --git a/universal_config_new_podkop.sh b/universal_config_new_podkop.sh index cd69114..b5e0377 100644 --- a/universal_config_new_podkop.sh +++ b/universal_config_new_podkop.sh @@ -619,15 +619,16 @@ checkPackageAndInstall "curl" "1" checkPackageAndInstall "unzip" "1" checkPackageAndInstall "opera-proxy" "1" checkPackageAndInstall "zapret" "1" +opkg remove --force-removal-of-dependent-packages "sing-box" findVersion="1.12.0" -if opkg list-installed | grep "^sing-box" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then - printf "\033[32;1mInstalled new sing-box. Running scprit...\033[0m\n" +if opkg list-installed | grep "^sing-box-tiny" && printf '%s\n%s\n' "$findVersion" "$VERSION" | sort -V | tail -n1 | grep -qx -- "$VERSION"; then + printf "\033[32;1mInstalled new sing-box-tiny. Running scprit...\033[0m\n" else - printf "\033[32;1mInstalled old sing-box or not install sing-box. Reinstall sing-box...\033[0m\n" + printf "\033[32;1mInstalled old sing-box-tiny or not install sing-box-tiny. Reinstall sing-box-tiny...\033[0m\n" manage_package "podkop" "enable" "stop" - opkg remove --force-removal-of-dependent-packages "sing-box" - checkPackageAndInstall "sing-box" "1" + opkg remove --force-removal-of-dependent-packages "sing-box-tiny" + checkPackageAndInstall "sing-box-tiny" "1" fi opkg upgrade amneziawg-tools @@ -1250,7 +1251,7 @@ case $varByPass in esac PACKAGE="podkop" -REQUIRED_VERSION="v0.5.6-r1" +REQUIRED_VERSION="v0.6.2-r1" INSTALLED_VERSION=$(opkg list-installed | grep "^$PACKAGE" | cut -d ' ' -f 3) if [ -n "$INSTALLED_VERSION" ] && [ "$INSTALLED_VERSION" != "$REQUIRED_VERSION" ]; then