1
0
This commit is contained in:
2024-04-19 19:58:09 +08:00
parent a434d276f6
commit 2a2a131574
2 changed files with 2 additions and 2 deletions

View File

@@ -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/* /

View File

@@ -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/* /