From a2efac05fd8aec11c0712e40450d39a11a2d8aa2 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Mon, 4 Sep 2023 19:33:47 +0800 Subject: [PATCH] d --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 12ba2611..39afbfd5 100644 --- a/makefile +++ b/makefile @@ -91,7 +91,8 @@ deb: $(BINNAME) cp -rf $(EmsFEDir)/* $(FrontBuildDir)/front >/dev/null chmod 755 $(BinDir)/* chmod 755 $(BuildDir)/omc/bin/* - chmod 755 $(DebBuildDir)/DEBIAN/* + chmod 755 $(DebBuildDir)/DEBIAN/postinst + chmod 755 $(DebBuildDir)/DEBIAN/postrm cp -rf $(BuildDir)/omc/* $(DebBuildDir)/usr/local/omc/ chmod +x $(DebBuildDir)/usr/local/omc/bin/* cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d