Vanilla-OS / vso-image

Containerfile for the Vanilla OS VSO image.

Home Page:https://images.vanillaos.org/#/recipe/vso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle desktop entries exports on `apt install`/`apt remove`

mirkobrombin opened this issue · comments

Since vso will become the default shell, we have to handle exports from the inside, this way if the user install a package using apt install, any desktop entry related to that package will be exported to the host system.

To achieve this, we can simply wrap the apt command to check if the active shell is vso and call vso export/vso unexport commands after each apt install/apt remove.