Przeglądaj źródła

Fix static analysis failures

Bob Mottram 7 lat temu
rodzic
commit
4060c44e4e

+ 1
- 0
src/freedombone-app-cryptpad Wyświetl plik

@@ -339,6 +339,7 @@ function cryptpad_create_config {
339 339
 }
340 340
 
341 341
 function mesh_install_cryptpad {
342
+    # shellcheck disable=SC2153
342 343
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
343 344
         return
344 345
     fi

+ 1
- 0
src/freedombone-app-peertube Wyświetl plik

@@ -618,6 +618,7 @@ function peertube_create_config {
618 618
 }
619 619
 
620 620
 function mesh_install_peertube {
621
+    # shellcheck disable=SC2153
621 622
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
622 623
         return
623 624
     fi

+ 1
- 0
src/freedombone-app-pelican Wyświetl plik

@@ -756,6 +756,7 @@ function pelican_themes {
756 756
 }
757 757
 
758 758
 function mesh_install_pelican {
759
+    # shellcheck disable=SC2153
759 760
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
760 761
         return
761 762
     fi