blob: a8c956fa579924ae7c8dc21a8eb620ff878939d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
echo "To use the toolchain, environment variables have to be set in your shell."
echo "Files setting them for POSIX compatible shells (bash, zsh, ...)"
echo "provided and should be used automatically for shells opened from now on."
echo "To use the toolchain right away, use"
echo " $ source /etc/profile.d/xtensa-lx106-elf-gcc.sh # (for POSIX compatible)"
echo "You may add /opt/xtensa-lx106-elf-gcc/bin to your \$PATH for selected shells."
}
post_upgrade() {
post_install
if [[ $(vercmp "$2" "r47-2") -ne 1 && $(vercmp "r47-3" "$1") -ne 1 ]]; then
echo "Note: The provided tools are not added to the \$PATH automatically anymore."
echo " This caused problems with other toolchains using the same executable names."
fi
}
|