From 37f496e9e03b6b890a5eeea1a2c6a7d789ce6a52 Mon Sep 17 00:00:00 2001 From: "s.shchipunov" Date: Mon, 29 Sep 2025 01:33:59 +0700 Subject: [PATCH] feat: update amneziawg-install.sh --- amneziawg-install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/amneziawg-install.sh b/amneziawg-install.sh index a09a12d..0db62a1 100644 --- a/amneziawg-install.sh +++ b/amneziawg-install.sh @@ -69,26 +69,26 @@ install_awg_packages() { fi fi - if opkg list-installed | grep -q luci-app-amneziawg; then - echo "luci-app-amneziawg already installed" + if opkg list-installed | grep -q luci-proto-amneziawg; then + echo "luci-proto-amneziawg already installed" else - LUCI_APP_AMNEZIAWG_FILENAME="luci-app-amneziawg${PKGPOSTFIX}" + LUCI_APP_AMNEZIAWG_FILENAME="luci-proto-amneziawg${PKGPOSTFIX}" DOWNLOAD_URL="${BASE_URL}v${VERSION}/${LUCI_APP_AMNEZIAWG_FILENAME}" wget -O "$AWG_DIR/$LUCI_APP_AMNEZIAWG_FILENAME" "$DOWNLOAD_URL" if [ $? -eq 0 ]; then - echo "luci-app-amneziawg file downloaded successfully" + echo "luci-proto-amneziawg file downloaded successfully" else - echo "Error downloading luci-app-amneziawg. Please, install luci-app-amneziawg manually and run the script again" + echo "Error downloading luci-proto-amneziawg. Please, install luci-proto-amneziawg manually and run the script again" exit 1 fi opkg install "$AWG_DIR/$LUCI_APP_AMNEZIAWG_FILENAME" if [ $? -eq 0 ]; then - echo "luci-app-amneziawg file downloaded successfully" + echo "luci-proto-amneziawg file downloaded successfully" else - echo "Error installing luci-app-amneziawg. Please, install luci-app-amneziawg manually and run the script again" + echo "Error installing luci-proto-amneziawg. Please, install luci-proto-amneziawg manually and run the script again" exit 1 fi fi