summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/brand.env4
-rwxr-xr-xutils/lib_nvm.sh13
2 files changed, 10 insertions, 7 deletions
diff --git a/utils/brand.env b/utils/brand.env
index 7c38364d6..31afce53c 100644
--- a/utils/brand.env
+++ b/utils/brand.env
@@ -1,5 +1,5 @@
export SEARXNG_URL=''
export SEARXNG_PORT='8888'
export SEARXNG_BIND_ADDRESS='127.0.0.1'
-export GIT_URL='https://github.com/return42/searxng'
-export GIT_BRANCH='doc-theme'
+export GIT_URL='https://github.com/searxng/searxng'
+export GIT_BRANCH='master'
diff --git a/utils/lib_nvm.sh b/utils/lib_nvm.sh
index c12be05cf..d35abef2a 100755
--- a/utils/lib_nvm.sh
+++ b/utils/lib_nvm.sh
@@ -120,14 +120,17 @@ nvm.install() {
nvm.clean() {
if ! nvm.is_installed; then
- info_msg "NVM is not installed"
- return 42
+ build_msg CLEAN "[NVM] not installed"
+ return
fi
if ! nvm.is_local; then
- info_msg "can't remove NVM from ${NVM_DIR}"
- return 42
+ build_msg CLEAN "[NVM] can't remove nvm from ${NVM_DIR}"
+ return
+ fi
+ if [ -n "${NVM_DIR}" ]; then
+ build_msg CLEAN "[NVM] drop $(realpath --relative-to=. "${NVM_DIR}")/"
+ rm -rf "${NVM_DIR}"
fi
- rm -rf "${NVM_DIR}"
}
nvm.status(){