mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 03:45:13 +08:00
Create filebrowser.patch
This commit is contained in:
1 parent
02c6c789ba
commit
e70e8fddee
1 file changed
+26
@@ -0,0 +1,26 @@
|
|||||||
|
--- a/filebrowser/Makefile
|
||||||
|
+++ b/filebrowser/Makefile
|
||||||
|
@@ -48,17 +48,20 @@ define Package/filebrowser/conffiles
|
||||||
|
/etc/config/filebrowser
|
||||||
|
endef
|
||||||
|
|
||||||
|
-define Build/Compile
|
||||||
|
+define Build/Prepare
|
||||||
|
+ $(call Build/Prepare/Default)
|
||||||
|
( \
|
||||||
|
export PNPM_HOME="$(PKG_BUILD_DIR)/frontend" ; \
|
||||||
|
pushd "$(PKG_BUILD_DIR)/frontend" ; \
|
||||||
|
pnpm install --frozen-lockfile ; \
|
||||||
|
pnpm run build ; \
|
||||||
|
- popd ; \
|
||||||
|
- $(call GoPackage/Build/Compile) ; \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
+define Build/Compile
|
||||||
|
+ $(call GoPackage/Build/Compile)
|
||||||
|
+endef
|
||||||
|
+
|
||||||
|
define Package/filebrowser/install
|
||||||
|
$(call GoPackage/Package/Install/Bin,$(1))
|
||||||
|
|
||||||
Reference in new issue
Block a user