From: Nicolas Boisselier Date: Thu, 7 Dec 2017 05:52:45 +0000 (+0000) Subject: share/db/update.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6d9986fffb60b772c97866c13ec9364fbff9ab27;p=nb.git share/db/update.sh --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 40d6e51b..2085b4b2 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -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 diff --git a/share/db/nb.db b/share/db/nb.db index 5cae0013..693b6bef 100644 Binary files a/share/db/nb.db and b/share/db/nb.db differ diff --git a/share/db/update.sh b/share/db/update.sh index 9845927a..633018f4 100755 --- a/share/db/update.sh +++ b/share/db/update.sh @@ -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"