summaryrefslogtreecommitdiff
diff options
authorPMR <pmr@pmr-lander>2017-12-18 17:38:48 +0000
committerPMR <pmr@pmr-lander>2017-12-18 17:38:48 +0000
commit0dae6f61b0e30889d64b2efd320c786578001369 (patch)
treec363fcd5bb70e9107acdabea0c3d6371fdfc3c92
parent655f0d7263f92b40b2dc016ae2cc48f50c3c431d (diff)
parent2a16c7ec93b9a2dd3b278850c7973516f24d3de1 (diff)
Merge #335303 from ~sylvain-pineau/plainbox-provider-checkbox:is_snap_based_helper
-rw-r--r--units/wireless/jobs.pxu14
1 files changed, 7 insertions, 7 deletions
diff --git a/units/wireless/jobs.pxu b/units/wireless/jobs.pxu
index e203e6c..427596c 100644
--- a/units/wireless/jobs.pxu
+++ b/units/wireless/jobs.pxu
@@ -15,7 +15,7 @@ _description:
Check system can find a wireless network AP nearby
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -36,7 +36,7 @@ category_id: com.canonical.plainbox::wireless
estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -57,7 +57,7 @@ category_id: com.canonical.plainbox::wireless
estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -79,7 +79,7 @@ estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
wireless_sta_protocol.{{ interface }}_n == 'supported'
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -101,7 +101,7 @@ estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
wireless_sta_protocol.{{ interface }}_n == 'supported'
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -123,7 +123,7 @@ estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
wireless_sta_protocol.{{ interface }}_ac == 'supported'
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}
@@ -145,7 +145,7 @@ estimated_duration: 30.0
flags: preserve-locale also-after-suspend also-after-suspend-manual
requires:
wireless_sta_protocol.{{ interface }}_ac == 'supported'
- {%- if "SNAP_NAME" in __system_env__ %}
+ {%- if __on_ubuntucore__ %}
connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager'
{% endif -%}