From 9f5f57bd9898d9fa2cdf94df78fbb71d1d564cb4 Mon Sep 17 00:00:00 2001 From: Zhengyi Jiang Date: Wed, 8 Nov 2023 22:15:26 +0000 Subject: [PATCH] fixed spelling mistakes --- install/install.sh | 2 +- install/uninstall.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install/install.sh b/install/install.sh index 1ed2946..1886e1e 100755 --- a/install/install.sh +++ b/install/install.sh @@ -4,7 +4,7 @@ export SUDO_ASKPASS=${HOME}/Unitree/autostart/passwd.sh autostart_dir=${HOME}/.config/autostart cp files/ice9_autostart.sh ${autostart_dir}/ice9_autostart.sh.desktop -mv ${autostart_dir}/update.sh.desktop ${autostart_dir}/upate.sh.desktop.bak +mv ${autostart_dir}/update.sh.desktop ${autostart_dir}/update.sh.desktop.bak if [ -f ${autostart_dir}/slam_planner.sh.desktop ]; then mv ${autostart_dir}/slam_planner.sh.desktop ${autostart_dir}/slam_planner.sh.desktop.bak fi diff --git a/install/uninstall.sh b/install/uninstall.sh index a44c5a3..325a263 100644 --- a/install/uninstall.sh +++ b/install/uninstall.sh @@ -2,8 +2,9 @@ export SUDO_ASKPASS=${HOME}/Unitree/autostart/passwd.sh # Revert autostart files autostart_dir=${HOME}/.config/autostart +rm ${autostart_dir}/ice9_autostart.sh.desktop if [ -f ${autostart_dir}/update.sh.desktop.bak ]; then - mv ${autostart_dir}/ice9_autostart.sh.desktop.bak ${autostart_dir}/ice9_autostart.sh.desktop + mv ${autostart_dir}/update.sh.desktop.bak ${autostart_dir}/update.sh.desktop fi if [ -f ${autostart_dir}/slam_planner.sh.desktop.bak ]; then mv ${autostart_dir}/slam_planner.sh.desktop.bak ${autostart_dir}/slam_planner.sh.desktop