Add ffmpeg to koel
This commit is contained in:
parent
f4a75d934a
commit
8f109b2b18
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue