Skip to content
Snippets Groups Projects
Commit 8f109b2b authored by Bob Mottram's avatar Bob Mottram
Browse files

Add ffmpeg to koel

parent f4a75d93
No related branches found
No related tags found
No related merge requests found
......@@ -501,6 +501,7 @@ function install_koel_main {
apt-get -yq install php-gettext php-curl php-gd php-mysql git curl php-zip
apt-get -yq install php-memcached php-intl exiftool libfcgi0ldbl
apt-get -yq install ffmpeg
if [ ! -d /var/www/$KOEL_DOMAIN_NAME ]; then
mkdir /var/www/$KOEL_DOMAIN_NAME
......@@ -743,6 +744,7 @@ function install_koel {
sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$MARIADB_PASSWORD|g" .env
sed -i 's/MAIL_HOST=.*/MAIL_HOST=localhost/g' .env
sed -i 's/MAIL_PORT=.*/MAIL_PORT=25/g' .env
sed -i 's|FFMPEG_PATH=.*|FFMPEG_PATH=/usr/bin/ffmpeg|g' .env
php artisan koel:init
if [ ! "$?" = "0" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment