mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 20:03:56 +08:00
🦄 Sync 2026-10-17 20:40:04
This commit is contained in:
1 parent
315f273687
commit
c9ccf6f883
37 files changed
+716
-171
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-open-box
|
||||
PKG_VERSION:=0.1.337
|
||||
PKG_RELEASE:=33
|
||||
PKG_RELEASE:=34
|
||||
|
||||
PKG_MAINTAINER:=liandu2024
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
@@ -55,7 +55,7 @@ endef
|
||||
# 3. 安装与打包:同时铺装 LuCI 页面、系统脚本以及 /opt/open-box 核心
|
||||
define Package/luci-app-open-box/install
|
||||
# 仅复制 _core 子目录内容,避免递归包含
|
||||
$(INSTALL_DIR) $(1)/opt/open-box $(1)/opt/open-box/data
|
||||
$(INSTALL_DIR) $(1)/opt/open-box $(1)/opt/open-box/data $(1)/www
|
||||
$(CP) $(PKG_BUILD_DIR)/_core/* $(1)/opt/open-box/
|
||||
chmod -R 0755 $(1)/opt/open-box/bin $(1)/opt/open-box/node/bin $(1)/opt/open-box/openwrt/bin 2>/dev/null || true
|
||||
chmod +x $(1)/opt/open-box/update.sh $(1)/opt/open-box/uninstall.sh 2>/dev/null || true
|
||||
@@ -102,7 +102,6 @@ define Package/luci-app-open-box/postrm
|
||||
#!/bin/sh
|
||||
[ -n "$${IPKG_INSTROOT}" ] || {
|
||||
rm -rf /tmp/luci-*cache* 2>/dev/null || true
|
||||
rm -rf /www/luci-static/resources/view/openbox 2>/dev/null || true
|
||||
uci -q delete firewall.openbox_panel || true
|
||||
uci -q delete firewall.openbox_dns || true
|
||||
uci -q delete firewall.openbox_tun_forward || true
|
||||
|
||||
Reference in new issue
Block a user