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