diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:24:18 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:24:18 +0300 |
commit | 2e162c166c97ef1da3356bb36add95be3e030c1d (patch) | |
tree | c9d61b4a73d958648750c12139a6f8263dad2570 /debian/gcc.postinst.in | |
parent | 265b4d936a9a438ba11f19475772f4b8d520ca59 (diff) | |
parent | e06370f27bc2868df91c3a5f29dc7f95e3f9350a (diff) | |
download | gcc-defaults-2e162c166c97ef1da3356bb36add95be3e030c1d.tar.gz |
Merge tag 'debian/1.185.1'
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 \ |