diff options
| author | Michael Vogt <mvo@ubuntu.com> | 2015-12-02 13:59:30 +0100 |
|---|---|---|
| committer | Michael Vogt <mvo@ubuntu.com> | 2015-12-02 13:59:49 +0100 |
| commit | 1223f6cd6627baf4db25edb4ccc4f60ea54c50ff (patch) | |
| tree | 6f0c2c99491dacd778b32b9d2eb4644e65ef6f45 | |
| parent | 3f284f78cf5b14ad1b01eb83bac9bf215721588d (diff) | |
Add etc/profile.d/apps-bin-path.sh and install in ubuntuc-snappy-clifeature/snap-bin-path
This will allow binaries to be found by the system
| -rw-r--r-- | debian/ubuntu-snappy-cli.install | 2 | ||||
| -rw-r--r-- | debian/ubuntu-snappy.install | 2 | ||||
| -rw-r--r-- | etc/profile.d/apps-bin-path.sh | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/debian/ubuntu-snappy-cli.install b/debian/ubuntu-snappy-cli.install index a65fa75f76..d6563d8bc7 100644 --- a/debian/ubuntu-snappy-cli.install +++ b/debian/ubuntu-snappy-cli.install @@ -4,3 +4,5 @@ data/completion/snappy /usr/share/bash-completion/completions/ # i18n stuff ../../share /usr +# etc/profile.d contains the PATH extension for snap packages +etc/profile.d diff --git a/debian/ubuntu-snappy.install b/debian/ubuntu-snappy.install index 633133739c..c24b858941 100644 --- a/debian/ubuntu-snappy.install +++ b/debian/ubuntu-snappy.install @@ -3,4 +3,4 @@ debian/*.socket /lib/systemd/system/ debian/*.target /lib/systemd/system/ debian/*.timer /lib/systemd/system/ # grub.d/09_snappy for compatiblity with older systems -etc +etc/grub.d diff --git a/etc/profile.d/apps-bin-path.sh b/etc/profile.d/apps-bin-path.sh new file mode 100644 index 0000000000..1780eb1585 --- /dev/null +++ b/etc/profile.d/apps-bin-path.sh @@ -0,0 +1,3 @@ +# Expand the $PATH to include /apps/bin which is what snappy applications +# use +PATH=$PATH:/apps/bin |
