I have a .deb package with configuration script which reads some environmental variable.
This variable is added to /etc/environment
file, and the system was rebooted.
When I install the package from terminal the script can read the value of variable. But when I install the package from Ubuntu Software Center the script read the empty value.
Why might this happen?