1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Adjust signon-ui-service evocation on Lomiri. Unity8 is dead, Lomiri is the follow-up.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/src/com.canonical.indicators.webcredentials.service.in
+++ b/src/com.canonical.indicators.webcredentials.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=com.canonical.indicators.webcredentials
-Exec=/bin/sh -c "'if [ ! -x $${target.path}/$${TARGET} ] || [ \"$QT_QPA_PLATFORM\" = \"ubuntumirclient\" ]; then exec /usr/bin/online-accounts-service; else exec $${target.path}/$${TARGET}; fi'"
+Exec=/bin/sh -c "'if [ ! -x $${target.path}/$${TARGET} ] || [ \"$DESKTOP_SESSION\" = \"lomiri\" ]; then exec /usr/bin/lomiri-online-accounts-service; else exec $${target.path}/$${TARGET}; fi'"
--- a/src/com.nokia.singlesignonui.service.in
+++ b/src/com.nokia.singlesignonui.service.in
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=com.nokia.singlesignonui
-Exec=/bin/sh -c "'if [ ! -x $${target.path}/$${TARGET} ] || [ \"$QT_QPA_PLATFORM\" = \"ubuntumirclient\" ]; then exec /usr/bin/online-accounts-service; else exec $${target.path}/$${TARGET}; fi'"
+Exec=/bin/sh -c "'if [ ! -x $${target.path}/$${TARGET} ] || [ \"$DESKTOP_SESSION\" = \"lomiri\" ]; then exec /usr/bin/lomiri-online-accounts-service; else exec $${target.path}/$${TARGET}; fi'"
|