mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
13 lines
478 B
Bash
13 lines
478 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## 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"
|