From 70779e58aa7d147031c734a538e66d800455d112 Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Fri, 23 Aug 2024 22:38:02 +0200 Subject: [PATCH] Update APP-MANAGER --- APP-MANAGER | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APP-MANAGER b/APP-MANAGER index 113c94519..c626e647e 100755 --- a/APP-MANAGER +++ b/APP-MANAGER @@ -84,9 +84,9 @@ function _check_if_home_local_bin_is_not_in_path() { read -rp " ◆ Want to add it to ~/.profile and ~/.bash_profile? (Y/n): " yn if ! echo "$yn" | grep -i '^n' >/dev/null 2>&1; then if test -f "$HOME/.profile"; then - printf '\n%s\n' 'export PATH="$PATH:${XDG_BIN_HOME:-$HOME/.local/bin}"' >> "$HOME/.profile" + printf '\n%s\n' "export PATH=\"\$PATH:\${XDG_BIN_HOME:-\$HOME/.local/bin}\"" >> "$HOME/.profile" elif test -f "$HOME/.bash_profile"; then - printf '\n%s\n' 'export PATH="$PATH:${XDG_BIN_HOME:-$HOME/.local/bin}"' >> "$HOME/.bash_profile" + printf '\n%s\n' "export PATH=\"\$PATH:\${XDG_BIN_HOME:-\$HOME/.local/bin}\"" >> "$HOME/.bash_profile" fi echo "$DIVIDING_LINE" echo " You might need to resource above files or reboot to apply these changes."