Auto accept EULA in bash script

833 Views Asked by At

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?

0

There are 0 best solutions below