Parcourir la source

Check for composer failure

Bob Mottram il y a 8 ans
Parent
révision
de9e9e77c5
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      src/freedombone-app-koel

+ 4
- 0
src/freedombone-app-koel Voir le fichier

@@ -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