diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 7888778..c412236 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -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/* / diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 1acf108..8463fd9 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -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/* /