~ubuntu-branches/ubuntu/quantal/gcc-defaults/quantal-proposed

« back to all changes in this revision

Viewing changes to .svn/text-base/gpc.postinst.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-09-21 17:35:36 UTC
  • mfrom: (1.1.39 sid)
  • Revision ID: package-import@ubuntu.com-20120921173536-rjpjgfdab0oljrpr
Tags: 1.117ubuntu2
Bump versions to 4.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
2
 
 
3
 
# remove the doc dir, if it's still a directory and replace with a symlink
4
 
pkg=`basename $0 .postinst`
5
 
if [ ! -L  /usr/share/doc/$pkg ]; then
6
 
    rm -rf /usr/share/doc/$pkg
7
 
    ln -s cpp /usr/share/doc/$pkg
8
 
fi
9
 
 
10
 
update-alternatives \
11
 
    --install /usr/bin/pc pc /usr/bin/gpc 20 \
12
 
    --slave /usr/share/man/man1/pc.1.gz pc.1.gz /usr/share/man/man1/gpc.1.gz
13
 
 
14
 
#DEBHELPER#
15
 
 
16
 
exit 0