File: gcc-BV-CRB.preinst.in

package info (click to toggle)
gcc-11 11.3.0-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,952 kB
  • sloc: makefile: 2,568; sh: 1,115; python: 1,106; awk: 23; cpp: 14
file content (12 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (64)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = "upgrade" ] || [ "$1" = "configure" ]; then
    update-alternatives --quiet --remove @TARGET@-gcc /usr/bin/@TARGET@-gcc-@BV@
    update-alternatives --quiet --remove @TARGET@-gcov /usr/bin/@TARGET@-gcov-@BV@
fi

#DEBHELPER#

exit 0