on xenial help sign in
Don't override scope list if already specified
commit8df1214b88aaf7359505895ad7a95bc589679b91 authorMichal Hruby <michal.mhr@gmail.com> dateThu 13 Feb 2014, 19:25 (13 years ago) parent8757ace
1 file changed+4−2
data/unity8.conf+4−2
data/unity8.conf+4−2
@@ -28,8 +28,10 @@ pre-start script
2828 initctl set-env --global MIR_SOCKET=$MIR_SERVER_FILE
2929 gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"
3030 fi
31− # FIXME: remove once we have this in dconf
32− initctl set-env UNITY_SCOPES_LIST="scopes;clickscope;musicaggregator;videoaggregator"
31+ if [ -n "$UNITY_SCOPES_LIST" ]; then
32+ # FIXME: remove once we have this in dconf
33+ initctl set-env UNITY_SCOPES_LIST="scopes;clickscope;musicaggregator;videoaggregator"
34+ fi
3335end script
3436
3537exec ${BINARY:-unity8} $ARGS