summaryrefslogtreecommitdiffstats
path: root/gcc.pkg.in/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-18 12:25:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-18 12:25:16 (EDT)
commit275c6d69c9e7e3e1d4f7ad18354d2471f16458f1 (patch)
tree4668216ed40bb32c3b3992937439d3ba2b654a15 /gcc.pkg.in/prerm
parentda6571d75ad299cfbe3984930c86cecf3be29401 (diff)
Make gcc and g++ target-specific.
Diffstat (limited to 'gcc.pkg.in/prerm')
-rwxr-xr-xgcc.pkg.in/prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc.pkg.in/prerm b/gcc.pkg.in/prerm
new file mode 100755
index 0000000..5d0150b
--- /dev/null
+++ b/gcc.pkg.in/prerm
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+if [ "${1}" = remove ]; then
+ update-alternatives --remove cc /usr/bin/gcc
+fi