Other examples of hacks currently used: https://github.com/ogra1/packageproxy/blob/master/run-approx https://github.com/ogra1/upnp-server
Thanks to ogra for providing these, although for completeness it is only fait to quote his opinion (against this): "no, SNAP_USER_DATA is a runtime, not a build time thing ... you have to do it from your wrapper script that you most likely have to use anyway for other stuff to set up the environment for your binary (also there are not really any install time hooks, we are not debs with maintainer scripts (luckily))" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1611287 Title: provide canonical way to install templates and configuration files into $SNAP_* dirs To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1611287/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs