13 lines
225 B
Plaintext
Raw Normal View History

2024-11-08 15:33:38 +00:00
#!/bin/bash
2024-11-08 11:31:31 +00:00
2024-11-10 10:27:09 +00:00
TOOLCHAIN_DIR=$(head -n 1 /etc/kos32-gcc/install-path)
2024-11-09 12:24:35 +00:00
MESSAGE="PATH=\$PATH:$TOOLCHAIN_DIR/win32/bin"
2024-11-09 13:46:44 +00:00
if grep -q '$MESSAGE' /etc/profile; then
sudo sed -i '/$MESSAGE/d' /etc/profile
2024-11-10 10:27:09 +00:00
fi
2024-11-09 13:46:44 +00:00
2024-11-10 10:27:09 +00:00
rm /etc/kos32-gcc -R
2024-11-09 13:46:44 +00:00