Files
runner-images/images/linux/scripts/installers/complete-snap-setup.sh
Sergey Dolin 8410ae2c65 Add snap/bin to /etc/environment (#755)
* Add snap/bin to /etc/environment

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
2020-04-23 18:19:11 +03:00

13 lines
475 B
Bash

#!/bin/bash
################################################################################
## File: snap-environment.sh
## Desc: Update /etc/environment to include /snap/bin in PATH
## because /etc/profile.d is ignored by `--norc` shell launch option
################################################################################
# Source the helpers
source $HELPER_SCRIPTS/etc-environment.sh
# Update /etc/environemnt
prependEtcEnvironmentPath "/snap/bin"