summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-27 14:39:48 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-01-11 22:12:38 +0100
commit9e53470b4cf533b890a2f57debd2f2b4198b4dd1 (patch)
tree5e041304488451cba4548fd386d625dd0cabec3a /manage.sh
parent9485179064b4eb28f2813eba3c295edca3b0db7f (diff)
downloadsearxng-9e53470b4cf533b890a2f57debd2f2b4198b4dd1.tar.gz
searxng-9e53470b4cf533b890a2f57debd2f2b4198b4dd1.zip
[mod] get rid of searx/brand.py
Removes module searx/brand.py and creates a namespace at searx.brand. This patch is a first 'proof of concept'. Later we can decide to remove the brand namespace entirely or not. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/manage.sh b/manage.sh
index bda74545c..bb86329f9 100755
--- a/manage.sh
+++ b/manage.sh
@@ -123,9 +123,9 @@ docker_build() {
SEARX_GIT_VERSION=$(git describe --match "v[0-9]*\.[0-9]*\.[0-9]*" HEAD 2>/dev/null | awk -F'-' '{OFS="-"; $1=substr($1, 2); if ($3) { $3=substr($3, 2); } print}')
# add the suffix "-dirty" if the repository has uncommited change
- # /!\ HACK for searx/searx: ignore searx/brand.py and utils/brand.env
+ # /!\ HACK for searx/searx: ignore utils/brand.env
git update-index -q --refresh
- if [ ! -z "$(git diff-index --name-only HEAD -- | grep -v 'searx/brand.py' | grep -v 'utils/brand.env')" ]; then
+ if [ ! -z "$(git diff-index --name-only HEAD -- | grep -v 'utils/brand.env')" ]; then
SEARX_GIT_VERSION="${SEARX_GIT_VERSION}-dirty"
fi