kolibrios-gcc-toolchain/package/DEBIAN/postrm
2024-11-10 10:27:09 +00:00

13 lines
208 B
Bash
Executable File

#!/bin/bash
TOOLCHAIN_DIR=$(head -n 1 /etc/kos32-gcc/install-path)
MESSAGE="PATH=\$PATH:$TOOLCHAIN_DIR"
if grep -q $MESSAGE /etc/profile; then
sed -i '/$MESSAGE/d' /etc/profile
fi
rm /etc/kos32-gcc -R