diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 54a27c5..0484f64 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -58,7 +58,7 @@ if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then mkdir -p ${RedisRootDir} fi cp -rf ${DependsRootDir}/redis/* ${RedisRootDir} - chmod +rx /usr/local/db/bin/* + chmod +rx ${RedisRootDir}/bin/* if [ ! -e "${RedisConfDir}/redis.conf" ]; then cp ${RedisConfDir}/default/redis.conf ${RedisConfDir}; else @@ -110,4 +110,3 @@ systemctl start sshsvc.service systemctl start captrace.service systemctl start restagent.service -