]> git.nbdom.net Git - nb.git/commitdiff
etc/repos.conf
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 18 Jan 2018 02:53:44 +0000 (02:53 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 18 Jan 2018 02:53:44 +0000 (02:53 +0000)
etc/profile.d/functions
etc/repos.conf

index f51cf9394365a05cafed50ab9e9bb1111107d1fb..480f566ee237c95637f6a1f45841cf7dd78afa27 100644 (file)
@@ -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
index 77553deb5ca37b3dcbeb4e6c3afd05bd7a2c49c4..97eb1f4ff89d2fb17d9623a34d98ff4791fddd2e 100644 (file)
@@ -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