summaryrefslogtreecommitdiffstats
path: root/gcc.pkg.in/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc.pkg.in/prerm')
-rwxr-xr-xgcc.pkg.in/prerm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc.pkg.in/prerm b/gcc.pkg.in/prerm
index a980d35..c61b46e 100755
--- a/gcc.pkg.in/prerm
+++ b/gcc.pkg.in/prerm
@@ -2,7 +2,11 @@
if [ "${1}" = remove ]; then
if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
- rm -f /usr/bin/gcc
update-alternatives --remove cc /usr/bin/gcc
+ update-alternatives --remove c89 /usr/bin/c89.gcc
+ update-alternatives --remove c99 /usr/bin/c99.gcc
+ rm -f /usr/bin/gcc
+ rm -f /usr/bin/c89.gcc
+ rm -f /usr/bin/c99.gcc
fi
fi