Skip to content

Commit

Permalink
fixed spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyZJiang committed Nov 8, 2023
1 parent 742cba6 commit 9f5f57b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion install/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f5f57b

Please sign in to comment.