diff --git a/zapret/update-pkg.sh b/zapret/update-pkg.sh index 2037363..069bee9 100755 --- a/zapret/update-pkg.sh +++ b/zapret/update-pkg.sh @@ -391,7 +391,7 @@ if [ "$opt_update" != "" ]; then else ZAP_PKG_BASE_FN=$( find "$ZAP_PKG_DIR" -maxdepth 1 -type f -name "zapret-[0-9]*.?*.${ZAP_PKG_EXT}" | head -n 1 ) fi - ZAP_PKG_LUCI_FN=$( find "$ZAP_PKG_DIR" -maxdepth 1 -type f -name "luci-app-zapret2*.${ZAP_PKG_EXT}" | head -n 1 ) + ZAP_PKG_LUCI_FN=$( find "$ZAP_PKG_DIR" -maxdepth 1 -type f -name "luci-app-zapret*.${ZAP_PKG_EXT}" | head -n 1 ) if [ ! -f "$ZAP_PKG_BASE_FN" ]; then echo "ERROR: File \"zapret*.${ZAP_PKG_EXT}\" not found!" return 231