kolibrios-gcc-toolchain/package/DEBIAN/postrm

13 lines
225 B
Plaintext
Raw Normal View History

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