[SOLVED] How-to Auto-install extensions in firefox-esr for all users?

Hi,

In the documentation it is said:
deploying extensions

Step 1: Create directories

In the Firefox ESR installation directory, you will need create some required >directories. First, create a directory called distribution . Inside of that directory, >create another called extensions .

But on a fresh install of firefox-esr (78.8) on ubuntu 20.04, these directories are created:

/usr/lib/firefox-esr/distribution
Whos has a link inside that rederict to:
/usr/lib/firefox-esr-addons/distribution/extensions

I also have:
/usr/lib/firefox-esr-addons/extensions that contains a language xpi file

So where do i need to put the addon-id directory exactly ?

After several tests…

The good directory to do this is:
/usr/lib/firefox-esr-addons/distribution/extensions

For example i have added qwant search tool with this addon file for all users:
‘qwantcomforfirefox@jetpack.xpi’

Simple quotes are needed