mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-25 01:53:49 +01:00
13 lines
225 B
Bash
Executable File
13 lines
225 B
Bash
Executable File
#!/bin/bash
|
|
|
|
TOOLCHAIN_DIR=$(head -n 1 /etc/kos32-gcc/install-path)
|
|
|
|
MESSAGE="PATH=\$PATH:$TOOLCHAIN_DIR/win32/bin"
|
|
|
|
if grep -q '$MESSAGE' /etc/profile; then
|
|
sudo sed -i '/$MESSAGE/d' /etc/profile
|
|
fi
|
|
|
|
rm /etc/kos32-gcc -R
|
|
|