Explorar el Código

Check for composer failure

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

+ 4
- 0
src/freedombone-app-koel Ver fichero

@@ -704,6 +704,10 @@ function install_koel {
704 704
     fi
705 705
     npm install -g yarn
706 706
     php composer.phar install
707
+    if [ ! "$?" = "0" ]; then
708
+        echo $'Unable to run composer install'
709
+        exit 7252198
710
+    fi
707 711
     npm install
708 712
 
709 713
     function_check get_mariadb_password