Skip to content

Commit 879a351

Browse files
committed
2 parents 4a5a7d8 + 9fffb91 commit 879a351

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

routes/install.sh.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ get_latest_version() {
4343
4444
# Function to print colored output
4545
print_status() {
46-
echo -e "\${BLUE}[INFO]\${NC} $1"
46+
echo "\${BLUE}[INFO]\${NC} $1" 1>&2
4747
}
4848
4949
print_success() {
50-
echo -e "\${GREEN}[SUCCESS]\${NC} $1"
50+
echo "\${GREEN}[SUCCESS]\${NC} $1" 1>&2
5151
}
5252
5353
print_error() {
54-
echo -e "\${RED}[ERROR]\${NC} $1"
54+
echo "\${RED}[ERROR]\${NC} $1" 1>&2
5555
}
5656
5757
print_warning() {
58-
echo -e "\${YELLOW}[WARNING]\${NC} $1"
58+
echo "\${YELLOW}[WARNING]\${NC} $1" 1>&2
5959
}
6060
6161
# Function to detect OS and architecture
@@ -163,7 +163,7 @@ install_andromeda() {
163163
if [[ ":$PATH:" != *":$INSTALL_DIR:"* ]]; then
164164
print_warning "Install directory '$INSTALL_DIR' is not in your PATH."
165165
print_warning "Add the following line to your shell profile (.bashrc, .zshrc, etc.):"
166-
echo -e "\${YELLOW}export PATH=\\"\\$PATH:$INSTALL_DIR\\"\${NC}"
166+
echo "\${YELLOW}export PATH=\\"\\$PATH:$INSTALL_DIR\\"\${NC}" 1>&2
167167
echo ""
168168
print_warning "Or run: echo 'export PATH=\\"\\$PATH:$INSTALL_DIR\\"' >> ~/.bashrc"
169169
print_warning "Then restart your terminal or run: source ~/.bashrc"

0 commit comments

Comments
 (0)