diff options
author | Johannes 'josch' Schauer <josch@debian.org> | 2020-01-31 07:47:31 +0100 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@debian.org> | 2020-02-01 01:12:00 +0100 |
commit | ee96c0270a4fab60b58cccfa7614a84b6ca12f2f (patch) | |
tree | de91e5aadae4b7177375b0e04b796ab02fce7689 /debian/patches/managesh | |
parent | 63b12b364d400008a4235facd3bdb9bc6f39f505 (diff) |
split patches
Diffstat (limited to 'debian/patches/managesh')
-rw-r--r-- | debian/patches/managesh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/patches/managesh b/debian/patches/managesh new file mode 100644 index 0000000..80d8345 --- /dev/null +++ b/debian/patches/managesh @@ -0,0 +1,39 @@ +--- a/manage.sh ++++ b/manage.sh +@@ -115,8 +115,7 @@ tests() { + # + + npm_path_setup() { +- which npm || (printf 'Error: npm is not found\n'; exit 1) +- export PATH="$(npm bin)":$PATH ++ true + } + + npm_packages() { +@@ -138,7 +137,7 @@ npm_packages() { + build_style() { + npm_path_setup + +- lessc --clean-css="--s1 --advanced --compatibility=ie9" "$BASE_DIR/searx/static/$1" "$BASE_DIR/searx/static/$2" ++ lessc -x "$BASE_DIR/searx/static/$1" "$BASE_DIR/searx/static/$2" + } + + styles() { +@@ -152,8 +151,15 @@ styles() { + build_style themes/courgette/less/style-rtl.less themes/courgette/css/style-rtl.css + echo '[!] Building pix-art style' + build_style themes/pix-art/less/style.less themes/pix-art/css/style.css +- echo '[!] Building bootstrap style' +- build_style less/bootstrap/bootstrap.less css/bootstrap.min.css ++ echo '[!] Building simple style' ++ build_style themes/simple/less/style.less themes/simple/css/searx.min.css ++ build_style themes/simple/less/style-rtl.less themes/simple/css/searx-rtl.min.css ++ echo '[!] Building logicodev' ++ build_style themes/oscar/less/logicodev/oscar.less themes/oscar/css/logicodev.min.css ++ echo '[!] Building logicodev-dark' ++ build_style themes/oscar/less/logicodev-dark/oscar.less themes/oscar/css/logicodev-dark.min.css ++ echo '[!] Building pointhi' ++ build_style themes/oscar/less/pointhi/oscar.less themes/oscar/css/pointhi.min.css + } + + grunt_build() { |