Browse Source

seafile-server: do not run postinst script in a build environment

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
lilik-openwrt-22.03
Gergely Kiss 9 years ago
committed by Etienne CHAMPETIER
parent
commit
670c2a48f7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      net/seafile-server/Makefile

+ 2
- 1
net/seafile-server/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=seafile-server
PKG_VERSION:=5.1.1
PKG_RELEASE=$(PKG_SOURCE_VERSION)-2
PKG_RELEASE=$(PKG_SOURCE_VERSION)-3
PKG_LICENSE:=GPL-3.0
PKG_SOURCE_PROTO:=git
@ -95,6 +95,7 @@ endef
define Package/seafile-server/postinst
#!/bin/sh
[ ! -f /etc/init.d/seafile ] && exit 0
if [ ! -d /usr/share/seafile/seafile-data ]
then


Loading…
Cancel
Save