diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-07-21 02:49:27 +0200 | 
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-07-21 02:49:27 +0200 | 
| commit | f46414392be209a3e1fa5f896dcc49db33dc9ab5 (patch) | |
| tree | e3de05b49169d21d80180be6ba555d53edfb9d6a | |
| parent | b61253b73ff30162146d9520ccb9ae52f0a4bde8 (diff) | |
compiz-profile-selector: use initctl properly (it won't pull env var from current config)
(bzr r4245.2.18)
| -rw-r--r-- | tools/compiz-profile-selector.in | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tools/compiz-profile-selector.in b/tools/compiz-profile-selector.in index 6b87e2a5a..3f11bd5e6 100644 --- a/tools/compiz-profile-selector.in +++ b/tools/compiz-profile-selector.in @@ -34,9 +34,9 @@ export UNITY_HAS_3D_SUPPORT="$supports_3d"  export UNITY_DEFAULT_PROFILE="$settings_profile"  if [ -n "$UPSTART_SESSION" ]; then - initctl set-env -g COMPIZ_CONFIG_PROFILE - initctl set-env -g UNITY_HAS_3D_SUPPORT - initctl set-env -g UNITY_DEFAULT_PROFILE + initctl set-env -g COMPIZ_CONFIG_PROFILE=$COMPIZ_CONFIG_PROFILE + initctl set-env -g UNITY_HAS_3D_SUPPORT=$UNITY_HAS_3D_SUPPORT + initctl set-env -g UNITY_DEFAULT_PROFILE=$UNITY_DEFAULT_PROFILE  else  update_env_args="--systemd"  fi | 
