mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 06:02:05 +00:00
install_easy: do not use apk in openwrt if it doesn't have db in /lib/apk/db
This commit is contained in:
1 parent
d214ebf2de
commit
08d27bf0a2
2 files changed
+6
-1
No files matched your search
+2
-1
@@ -212,7 +212,8 @@ check_system()
|
|||||||
OPENWRT_PACKAGER=opkg
|
OPENWRT_PACKAGER=opkg
|
||||||
OPENWRT_PACKAGER_INSTALL="opkg install"
|
OPENWRT_PACKAGER_INSTALL="opkg install"
|
||||||
OPENWRT_PACKAGER_UPDATE="opkg update"
|
OPENWRT_PACKAGER_UPDATE="opkg update"
|
||||||
exists apk && {
|
# do not use apk if it does not have database
|
||||||
|
[ -d /lib/apk/db ] && exists apk && {
|
||||||
OPENWRT_PACKAGER=apk
|
OPENWRT_PACKAGER=apk
|
||||||
OPENWRT_PACKAGER_INSTALL="apk add"
|
OPENWRT_PACKAGER_INSTALL="apk add"
|
||||||
OPENWRT_PACKAGER_UPDATE=
|
OPENWRT_PACKAGER_UPDATE=
|
||||||
|
|||||||
@@ -298,3 +298,7 @@ v0.9.4.3
|
|||||||
* zapret-lib,zapret-antidpi: delay parameter in "send" desync function
|
* zapret-lib,zapret-antidpi: delay parameter in "send" desync function
|
||||||
* zapret-lib: fix oob urp=b case in rawsend_dissect_segmented
|
* zapret-lib: fix oob urp=b case in rawsend_dissect_segmented
|
||||||
* nfqws2, zapret-lib: (LUA_COMPAT_VER=6) fix wrong spelling : WRITEABLE -> WRITABLE
|
* nfqws2, zapret-lib: (LUA_COMPAT_VER=6) fix wrong spelling : WRITEABLE -> WRITABLE
|
||||||
|
|
||||||
|
1.0.1
|
||||||
|
|
||||||
|
* install_easy: do not use apk in openwrt if it doesn't have db in /lib/apk/db
|
||||||
Reference in new issue
Block a user