diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:19:31 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:19:31 +0300 |
commit | e06370f27bc2868df91c3a5f29dc7f95e3f9350a (patch) | |
tree | 2a62c7a345744ea034b5b889a1c3d4dfe6055301 /debian/gcc.postinst.in | |
parent | 781434cd4f3b1be60b117ae61babaf60f4a9e563 (diff) | |
download | gcc-defaults-e06370f27bc2868df91c3a5f29dc7f95e3f9350a.tar.gz |
Imported gcc-defaults-1.185.1debian/1.185.1debian
Diffstat (limited to 'debian/gcc.postinst.in')
-rw-r--r-- | debian/gcc.postinst.in | 9 |
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 \ |