From 4e7bd189216f215b2a606964f4a4d76b6d80794e Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Tue, 26 Mar 2024 09:51:20 +0800 Subject: [PATCH] fix: ... --- debbuild/22.04/DEBIAN/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 31f191b..065bfde 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -43,7 +43,6 @@ if [ ! -e ${OmcDaemon} ]; then ln -s ${OmcBinDir}/omcsvc.sh ${OmcDaemon}; fi chmod +rx /usr/local/omc/bin/* chmod +rx /usr/local/omc/* -chmod +rx /usr/local/db/bin/* chmod +rx /usr/local/bin/* chmod -R 755 /usr/local/omc/htdocs/front @@ -56,6 +55,7 @@ done # Install redis db if not exist /usr/local/db if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then cp -rf ${DependsRootDir}/redis /usr/local/adb + chmod +rx /usr/local/db/bin/* if [ ! -e "${RedisConfDir}/redis.conf" ]; then cp ${RedisConfDir}/default/redis.conf ${RedisConfDir}; else