blob: c61b46eaea9a16b212ff5e5e54e745972bed605b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/sh
if [ "${1}" = remove ]; then
if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
update-alternatives --remove cc /usr/bin/gcc
update-alternatives --remove c89 /usr/bin/c89.gcc
update-alternatives --remove c99 /usr/bin/c99.gcc
rm -f /usr/bin/gcc
rm -f /usr/bin/c89.gcc
rm -f /usr/bin/c99.gcc
fi
fi
|