I'm trying to write a bash script that (among other things) installs ubuntu-restricted-extras, but I can't seem to find a proper solution to automatically accept the EULA. This has been suggested in another post:
yes | apt-get install -y ubuntu-restricted-extras
But this is not working for me. Any ideas?