From: Nicolas Boisselier Date: Fri, 20 Nov 2020 22:51:57 +0000 (+0000) Subject: etc/profile X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=c467150595ebd3d1af24d9854fb12455580ada32;p=nb.git etc/profile --- diff --git a/etc/profile b/etc/profile index e4b81234..4ac87d9a 100755 --- a/etc/profile +++ b/etc/profile @@ -73,7 +73,6 @@ else return 0 # NB 20.11.20 elif [ -r /etc/profile.d/nb.sh ]; then # NB 20.11.20 # Already installed - NB_ETC_DIR=$(dirname $(grep '\. ' -m1 /etc/profile.d/nb.sh | cut -d'.' -f2 /etc/profile.d/nb.sh)) # NB 20.11.20 NB_ETC_DIR=$(dirname "$(awk -F'&& . ' '/ \. /{print $2;exit}' /etc/profile.d/nb.sh)") # NB 20.11.20 # NB 20.11.20 else