File: g77.postinst.in

package info (click to toggle)
gcc-defaults-mipsen 1.186.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 424 kB
  • sloc: makefile: 1,185; sh: 103
file content (15 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

# 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

update-alternatives --install /usr/bin/f77 f77 /usr/bin/g77 20 \
  @GFDL@--slave /usr/share/man/man1/f77.1.gz f77.1.gz /usr/share/man/man1/g77.1.gz

#DEBHELPER#

exit 0