fix: all-in-one packages issue
This commit is contained in:
@@ -54,7 +54,10 @@ done
|
|||||||
|
|
||||||
# Install redis db if not exist /usr/local/db
|
# Install redis db if not exist /usr/local/db
|
||||||
if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then
|
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/*
|
chmod +rx /usr/local/db/bin/*
|
||||||
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
|
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
|
||||||
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};
|
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};
|
||||||
|
|||||||
@@ -54,7 +54,10 @@ done
|
|||||||
|
|
||||||
# Install redis db if not exist /usr/local/db
|
# Install redis db if not exist /usr/local/db
|
||||||
if [ ! -e "${RedisRootDir}/bin/redis-server" ]; then
|
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/*
|
chmod +rx ${RedisRootDir}/bin/*
|
||||||
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
|
if [ ! -e "${RedisConfDir}/redis.conf" ]; then
|
||||||
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};
|
cp ${RedisConfDir}/default/redis.conf ${RedisConfDir};
|
||||||
|
|||||||
Reference in New Issue
Block a user