]> git.nbdom.net Git - nb.git/commitdiff
share/db/update.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 7 Dec 2017 05:52:45 +0000 (05:52 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 7 Dec 2017 05:52:45 +0000 (05:52 +0000)
etc/profile.d/functions
share/db/nb.db
share/db/update.sh

index 40d6e51b2028c012fee5ba2d0ee99016bc578320..2085b4b2b2fc01cc98ae9ef363fd4265f4d957dd 100644 (file)
@@ -10,7 +10,7 @@ nb_repos() {
          echo "$NB_ROOT"
 
          # Conf file
-         local conf=/etc/nb/repos.conf
+         local conf="$NB_ROOT/repos.conf"
          [ -s "$conf" ] || conf="$NB_ROOT/etc/repos.conf"
 
          # Realpath
index 5cae0013ba96c4f55c2871e1d9e773ba3ae2f03b..693b6bef1ee4e580c73a767bc04feb88414db959 100644 (file)
Binary files a/share/db/nb.db and b/share/db/nb.db differ
index 9845927af7a2c03222198793e03d1f2c4f698b27..633018f415b26252abfbda3d707859a8488ed6b2 100755 (executable)
@@ -24,7 +24,7 @@ EOF
 
 ) | sqlite3 "nb.db" && (
 
-for f in $(shell_replace -find $NB_ROOT/*); do
+false && for f in $(shell_replace -find $NB_ROOT/*); do
 
        echo "shell_replace $f" | sed "s; $NB_ROOT/; ;"
        shell_replace -i.shell_replace "$f"