From 5a1a60c569731841af41508bdb12d43daf0d5af9 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Wed, 17 Apr 2024 18:46:35 +0800 Subject: [PATCH] opt: adb --- debbuild/22.04/DEBIAN/postinst | 2 +- debbuild/DEBIAN/postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 1110ead..39717fa 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -69,7 +69,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then # copy the orangin dump.rdb if [ -e "${RedisOldRootDir}/bin/conf/dump.rdb" ]; then cp -f ${RedisOldRootDir}/bin/conf/dump.rdb ${RedisConfDir}; - mv -rf ${RedisRootDir}/db ${RedisRootDir}/adb.old + mv -f ${RedisRootDir}/db ${RedisRootDir}/adb.old fi # cp -f ${DependsRootDir}/systemd/adb.service ${SystemdRootDir} fi diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index bc5b181..220ca16 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -69,7 +69,7 @@ if [ ! -e "${RedisRootDir}/bin/adb-server" ]; then # copy the orangin dump.rdb if [ -e "${RedisOldRootDir}/bin/conf/dump.rdb" ]; then cp -f ${RedisOldRootDir}/bin/conf/dump.rdb ${RedisConfDir}; - mv -rf ${RedisRootDir}/db ${RedisRootDir}/adb.old + mv -f ${RedisRootDir}/db ${RedisRootDir}/adb.old fi # cp -f ${DependsRootDir}/systemd/adb.service ${SystemdRootDir} fi