fix: all-in-one packages issue

This commit is contained in:
simonzhangsz committed 2024-03-26 11:15:21 +08:00
1 parent 2915caff5f
commit decc009db0
2 files changed
+8 -2

No files matched your search

+4 -1
View File
@@ -54,7 +54,10 @@ done
# Install redis db if not exist /usr/local/db
if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then
cp -rf ${DependsRootDir}/redis /usr/local/db
if [ ! -e "${RedisRootDir}" ]; then
mkdir -p ${RedisRootDir}
fi
cp -rf ${DependsRootDir}/redis/* ${RedisRootDir}
chmod +rx /usr/local/db/bin/*
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};
+4 -1
View File
@@ -54,7 +54,10 @@ done
# Install redis db if not exist /usr/local/db
if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then
cp -rf ${DependsRootDir}/redis /usr/local/db
if [ ! -e "${RedisRootDir}" ]; then
mkdir -p ${RedisRootDir}
fi
cp -rf ${DependsRootDir}/redis/* ${RedisRootDir}
chmod +rx ${RedisRootDir}/bin/*
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};