From 6503b3a7bebc63045f1f52cbda867467761a60da Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 18 Jan 2018 02:53:44 +0000 Subject: [PATCH] etc/repos.conf --- etc/profile.d/functions | 2 +- etc/repos.conf | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index f51cf939..480f566e 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -10,7 +10,7 @@ nb_repos() { echo "$NB_ROOT" # Conf file - local conf="$NB_ROOT/repos.conf" + local conf="/etc/nb/repos.conf" [ -s "$conf" ] || conf="$NB_ROOT/etc/repos.conf" # Realpath diff --git a/etc/repos.conf b/etc/repos.conf index 77553deb..97eb1f4f 100644 --- a/etc/repos.conf +++ b/etc/repos.conf @@ -1,16 +1,9 @@ # NB 13.12.16 # Search repos patterns /.nb-install -/*/*/.nb-install + +/{opt,usr,etc}/*/.nb-install /usr/local/src/*/.nb-install -/{home,Users}/*/*/.nb-install -#/home/*/*/.nb-install -#/Users/*/*/.nb-install -/{home,Users}/*/git/*/.nb-install -#/home/*/git/*/.nb-install -#/Users/*/git/*/.nb-install -/{home,Users}/*/{app,code}/*/.nb-install -#/home/*/app/*/.nb-install -#/Users/*/app/*/.nb-install -#/home/*/code/*/.nb-install -#/Users/*/code/*/.nb-install + +/{home,Users}/*/.nb-install +/{home,Users}/*/{git,app,code}/*/.nb-install -- 2.47.3