fix: adb issue

This commit is contained in:
simonzhangsz committed 2024-04-19 19:38:49 +08:00
1 parent 5a1a60c569
commit 439a960fd0
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -58,7 +58,9 @@ 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
systemctl stop adb.service
fi
cp -rf ${DependsRootDir}/adb/* /
chmod +rx ${RedisRootDir}/bin/*
if [ ! -e "${RedisConfDir}/adb.conf" ]; then
+3 -1
View File
@@ -58,7 +58,9 @@ 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
systemctl stop adb.service
fi
cp -rf ${DependsRootDir}/adb/* /
chmod +rx ${RedisRootDir}/bin/*
if [ ! -e "${RedisConfDir}/adb.conf" ]; then