summaryrefslogtreecommitdiff
path: root/debian/gcc.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gcc.postinst.in')
-rw-r--r--debian/gcc.postinst.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/debian/gcc.postinst.in b/debian/gcc.postinst.in
index 0828ab6..85ff3e8 100644
--- a/debian/gcc.postinst.in
+++ b/debian/gcc.postinst.in
@@ -1,11 +1,6 @@
-#! /bin/sh -e
+#! /bin/sh
-# remove the doc dir, if it's still a directory and replace with a symlink
-pkg=`basename $0 .postinst`
-if [ ! -L /usr/share/doc/$pkg ]; then
- rm -rf /usr/share/doc/$pkg
- ln -s cpp /usr/share/doc/$pkg
-fi
+set -e
update-alternatives --quiet \
--install /usr/bin/cc cc /usr/bin/gcc 20 \