mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
seafile-server: do not run postinst script in a build environment
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
This commit is contained in:
committed by
Etienne CHAMPETIER
parent
d9c0b51582
commit
670c2a48f7
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=seafile-server
|
PKG_NAME:=seafile-server
|
||||||
PKG_VERSION:=5.1.1
|
PKG_VERSION:=5.1.1
|
||||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)-2
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)-3
|
||||||
PKG_LICENSE:=GPL-3.0
|
PKG_LICENSE:=GPL-3.0
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
@@ -95,6 +95,7 @@ endef
|
|||||||
|
|
||||||
define Package/seafile-server/postinst
|
define Package/seafile-server/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
[ ! -f /etc/init.d/seafile ] && exit 0
|
||||||
|
|
||||||
if [ ! -d /usr/share/seafile/seafile-data ]
|
if [ ! -d /usr/share/seafile/seafile-data ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user