Skip to content

Commit

Permalink
no native snapd package on Centos
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Mar 20, 2018
1 parent 57843d3 commit ccc0df0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/osmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ Fedora:
snaps:
collides: ['snap',]
symlink: True

Centos:
snaps:
package:

4 changes: 3 additions & 1 deletion packages/snaps.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
{% set wanted_snaps = packages.snaps.wanted %}
{% set unwanted_snaps = packages.snaps.unwanted %}
{% if packages.snaps.wanted or packages.snaps.unwanted %}
{%- if packages.snaps.package %}
{% if packages.snaps.wanted or packages.snaps.unwanted %}
### REQ PKGS (without this, SNAPS can fail to install/uninstall)
include:
Expand Down Expand Up @@ -81,4 +82,5 @@ packages-snapd-{{ snap }}-unwanted:
- pkg: unwanted_pkgs
{% endfor %}
{% endif %}
{% endif %}

0 comments on commit ccc0df0

Please sign in to comment.