Skip to content

Commit 6e01b9f

Browse files
authored
Update uninstall command to return to previous directory
When using it, I have to "manually" cd back to the previous dir. I suggest that the instructions automatically cd back to the previous dir.
1 parent 9bd4b07 commit 6e01b9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

start-local.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ check_installation_folder() {
438438
echo "It seems you have already a start-local installation in '${folder}'."
439439
if [ -f "$folder/uninstall.sh" ]; then
440440
echo "I cannot proceed unless you uninstall it, using the following command:"
441-
echo "cd $folder && ./uninstall.sh"
441+
echo "cd $folder && ./uninstall.sh && cd -"
442442
else
443443
echo "I did not find the uninstall.sh file, you need to proceed manually."
444444
if [ -f "$folder/docker-compose.yml" ] && [ -f "$folder/.env" ]; then
@@ -1094,4 +1094,4 @@ ctrl_c() {
10941094
trap ctrl_c INT
10951095

10961096
# Execute the script
1097-
main "$@"
1097+
main "$@"

0 commit comments

Comments
 (0)