summaryrefslogtreecommitdiffstats
path: root/gcc.pkg/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc.pkg/prerm')
-rwxr-xr-xgcc.pkg/prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc.pkg/prerm b/gcc.pkg/prerm
new file mode 100755
index 0000000..5d0150b
--- /dev/null
+++ b/gcc.pkg/prerm
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+if [ "${1}" = remove ]; then
+ update-alternatives --remove cc /usr/bin/gcc
+fi