From 57c1dcc1d51eaf767fbcd44a360fa40ff495014c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 30 Sep 2014 14:00:20 +0000 Subject: [PATCH] install ffmpeg and ffmpeg2theora from Firefogg --- vm/firstboot.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vm/firstboot.sh b/vm/firstboot.sh index f22d0b19e..d1702da08 100755 --- a/vm/firstboot.sh +++ b/vm/firstboot.sh @@ -59,6 +59,12 @@ apt-get install -y \ postgresql \ postgresql-contrib +mkdir -p /home/pandora/.ox/bin +wget -O /home/pandora/.ox/bin/ffmpeg https://firefogg.org/bin/ffmpeg.linux +wget -O /home/pandora/.ox/bin/ffmpeg2theora https://firefogg.org/bin/ffmpeg2theora.linux +chmod +x /home/pandora/.ox/bin/* + + sudo -u postgres createuser -S -D -R pandora sudo -u postgres createdb -T template0 --locale=C --encoding=UTF8 -O pandora pandora echo "CREATE EXTENSION pg_trgm;" | sudo -u postgres psql pandora