File: gcc.prerm

package info (click to toggle)
gcc-defaults 1.136
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 360 kB
  • ctags: 264
  • sloc: makefile: 792; python: 540; sh: 230; perl: 137
file content (11 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh -e

if [ $1 != "upgrade" ]; then
    update-alternatives --quiet --remove cc /usr/bin/gcc
    update-alternatives --quiet --remove c89 /usr/bin/c89-gcc
    update-alternatives --quiet --remove c99 /usr/bin/c99-gcc
fi

#DEBHELPER#

exit 0