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