We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d2513 commit a36101cCopy full SHA for a36101c
install_helper.sh
@@ -7,8 +7,8 @@ get_releases() {
7
}
8
9
linux_install() {
10
- bin_path=$HOME/.local/bin
11
- lib_path=$HOME/.local/lib
+ bin_path=$HOME/.local/share/code-server/bin
+ lib_path=$HOME/.local/share/code-server/lib
12
13
releases=$(get_releases)
14
package=$(echo "$releases" | grep 'linux' | grep 'x86' | sed -E 's/.*"([^"]+)".*/\1/')
@@ -50,7 +50,9 @@ linux_install() {
50
rm -rf -f $temp_path
51
52
if [ $bin_path != *"$PATH"* ]; then
53
- echo "-- WARNING: ~/.local/bin is not in your \$PATH"
+ RED='\033[0;31m'
54
+ NC='\033[0m' # No Color
55
+ echo -e "${RED}-- WARNING: $bin_path is not in your \$PATH${NC}"
56
fi
57
58
echo "-- Successfully installed code-server at $bin_path/code-server"
0 commit comments