~osomon/+junk/thunderbird-snap-fix-theming

« back to all changes in this revision

Viewing changes to snapcraft.yaml

  • Committer: Olivier Tilloy
  • Date: 2018-09-11 09:53:38 UTC
  • Revision ID: olivier.tilloy@canonical.com-20180911095338-g3dpx0aezk3sqq2e
Add data-dir mount layout to the snap as a temporary workaround until https://github.com/snapcore/snapd/pull/5395 lands in snapd.

This should address https://forum.snapcraft.io/t/thunderbird-version/7146/11.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
      set -eux
72
72
      mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/mime
73
73
      update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
 
74
  theming-fix:
 
75
    plugin: nil
 
76
    override-build: |
 
77
      # Add data-dir mount layout to the snap as a temporary workaround until
 
78
      # https://github.com/snapcore/snapd/pull/5395 lands in snapd.
 
79
      mkdir -p $SNAPCRAFT_PART_INSTALL/data-dir/icons
 
80
      mkdir -p $SNAPCRAFT_PART_INSTALL/data-dir/sounds
 
81
      mkdir -p $SNAPCRAFT_PART_INSTALL/data-dir/themes