mirror of
https://github.com/kenzok8/openwrt-packages
synced 2025-01-09 09:07:28 +08:00
update 2022-09-13 20:23:09
This commit is contained in:
parent
56abfa4c30
commit
f13ec39fd5
@ -11,13 +11,13 @@ LUCI_DEPENDS:=+curl +opkg +luci-base +tar +coreutils +coreutils-stat +libuci-lua
|
|||||||
LUCI_EXTRA_DEPENDS:=luci-lib-taskd (>=1.0.17)
|
LUCI_EXTRA_DEPENDS:=luci-lib-taskd (>=1.0.17)
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
|
|
||||||
PKG_VERSION:=0.1.12-5
|
PKG_VERSION:=0.1.12-7
|
||||||
# PKG_RELEASE MUST be empty for luci.mk
|
# PKG_RELEASE MUST be empty for luci.mk
|
||||||
PKG_RELEASE:=
|
PKG_RELEASE:=
|
||||||
|
|
||||||
ISTORE_UI_VERSION:=0.1.12
|
ISTORE_UI_VERSION:=0.1.12
|
||||||
ISTORE_UI_RELEASE:=3
|
ISTORE_UI_RELEASE:=4
|
||||||
PKG_HASH:=d3772c01c0ffcf27cf60e6f0890989fd940459a6d115500f2c42dc204c1a162c
|
PKG_HASH:=501ba105bcd60030f8f99768b76b0ca083027ef44f7f5b99c039174472fe5c5a
|
||||||
|
|
||||||
PKG_SOURCE_URL_FILE:=v$(ISTORE_UI_VERSION)-$(ISTORE_UI_RELEASE).tar.gz
|
PKG_SOURCE_URL_FILE:=v$(ISTORE_UI_VERSION)-$(ISTORE_UI_RELEASE).tar.gz
|
||||||
PKG_SOURCE:=istore-ui-$(PKG_SOURCE_URL_FILE)
|
PKG_SOURCE:=istore-ui-$(PKG_SOURCE_URL_FILE)
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
window.vue_lang = '<%=lang%>';
|
window.vue_lang = '<%=lang%>';
|
||||||
window.token = "<%=token%>";
|
window.token = "<%=token%>";
|
||||||
window.device_id = {arch:"<%=id.arch%>",uid:"<%=id.uid%>",version:"<%=id.version%>"};
|
window.device_id = {arch:"<%=id.arch%>",uid:"<%=id.uid%>",version:"<%=id.version%>"};
|
||||||
window.istore_features = <%=jsonc.stringify(features)%>;
|
window.istore_features = <%=jsonc.stringify(features)%>.filter(f => f !== '_lua_force_array_');
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<h2 name="content"><%:iStore%>
|
<h2 name="content"><%:iStore%>
|
||||||
|
@ -40,6 +40,15 @@ fcurl() {
|
|||||||
curl --fail --show-error "$@"
|
curl --fail --show-error "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_space() {
|
||||||
|
local free="$((`stat -c '%a * %S' -f /` >> 20 ))"
|
||||||
|
if [ "$free" -lt 1 ]; then
|
||||||
|
echo "Root disk full!" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
update() {
|
update() {
|
||||||
if [ -z "${ARCH}" ]; then
|
if [ -z "${ARCH}" ]; then
|
||||||
echo "Get architecture failed" >&2
|
echo "Get architecture failed" >&2
|
||||||
@ -148,6 +157,7 @@ case $action in
|
|||||||
update
|
update
|
||||||
;;
|
;;
|
||||||
"install")
|
"install")
|
||||||
|
check_space
|
||||||
wrapped_in_update install "$@"
|
wrapped_in_update install "$@"
|
||||||
;;
|
;;
|
||||||
"upgrade")
|
"upgrade")
|
||||||
@ -166,6 +176,7 @@ case $action in
|
|||||||
check_self_upgrade
|
check_self_upgrade
|
||||||
;;
|
;;
|
||||||
"do_self_upgrade")
|
"do_self_upgrade")
|
||||||
|
check_space
|
||||||
do_self_upgrade
|
do_self_upgrade
|
||||||
;;
|
;;
|
||||||
"opkg")
|
"opkg")
|
||||||
|
Loading…
Reference in New Issue
Block a user