Explorar el Código

Additional python packages for searx

Bob Mottram hace 8 años
padre
commit
f8aefec776
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12
    0
      src/freedombone-app-searx

+ 12
- 0
src/freedombone-app-searx Ver fichero

@@ -855,6 +855,18 @@ function install_searx {
855 855
         exit 63738
856 856
     fi
857 857
 
858
+    pip install requests --upgrade
859
+    if [ ! "$?" = "0" ]; then
860
+        echo $'Failed to install requests'
861
+        exit 357282
862
+    fi
863
+
864
+    pip install pygments --upgrade
865
+    if [ ! "$?" = "0" ]; then
866
+        echo $'Failed to install pygments'
867
+        exit 357282
868
+    fi
869
+
858 870
     if [ ! -d $SEARX_PATH ]; then
859 871
         mkdir -p $SEARX_PATH
860 872
     fi