fix: ...
This commit is contained in:
@@ -58,7 +58,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then
|
||||
# if [ ! -e "${RedisRootDir}" ]; then
|
||||
# mkdir -p ${RedisRootDir}
|
||||
# fi
|
||||
if [ -e "${RedisOldRootDir}/bin/redis-server" && -e "${SystemdRootDir}/adb.service" ]; then
|
||||
if [ -e "${RedisOldRootDir}/bin/redis-server"] && [ -e "${SystemdRootDir}/adb.service" ]; then
|
||||
systemctl stop adb.service
|
||||
fi
|
||||
cp -rf ${DependsRootDir}/adb/* /
|
||||
|
||||
@@ -58,7 +58,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then
|
||||
# if [ ! -e "${RedisRootDir}" ]; then
|
||||
# mkdir -p ${RedisRootDir}
|
||||
# fi
|
||||
if [ -e "${RedisOldRootDir}/bin/redis-server" && -e "${SystemdRootDir}/adb.service" ]; then
|
||||
if [ -e "${RedisOldRootDir}/bin/redis-server"] && [ -e "${SystemdRootDir}/adb.service" ]; then
|
||||
systemctl stop adb.service
|
||||
fi
|
||||
cp -rf ${DependsRootDir}/adb/* /
|
||||
|
||||
Reference in New Issue
Block a user