From 377c841c31e2c4882dfc3032cfefc48361cd80ff Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 20 Aug 2020 13:11:53 -0400 Subject: [PATCH] Switch back to direct command for removing setup from bash_profile due to how sed is interpreting the quoted expression --- setup/so-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 8dd3c6bed..be450bad3 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -714,7 +714,8 @@ disable_auto_start() { logCmd "crontab -u $INSTALLUSERNAME -r" # Truncate last line of the bash profile - logCmd "sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile" + info "Removing auto-run of setup from bash profile" + sed -i '$ d' /home/$INSTALLUSERNAME/.bash_profile >> "$setup_log" 2>&1 }