From 16c57bb791a1fc76b8b00894e29c050681809402 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 May 2024 09:53:43 +0200 Subject: ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- base/user-profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/user-profile b/base/user-profile index 2206a1f..370d637 100644 --- a/base/user-profile +++ b/base/user-profile @@ -13,10 +13,10 @@ export MAIN_ALSA_MIXER=PCM export MANSECT="1p:8p:1:8:2:3p:3:0:5:4:9:6:7:n:l" # Ensure ~/.local/bin and ~/.usr/bin are in PATH -if ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.local/bin >/dev/null; then +if ! ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.local/bin >/dev/null; then export PATH="${HOME}/.local/bin:${PATH}" fi -if ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.usr/bin >/dev/null; then +if ! ( IFS=: ; printf '%s\n' $PATH ) | grep -Fx ~/.usr/bin >/dev/null; then export PATH="${HOME}/.usr/bin:${PATH}" fi -- cgit v1.2.3-70-g09d2