blob: 87705a47614c98989969856c9c2e8a384cd5fd4b (
plain)
1
2
3
4
5
6
7
|
if [ -f /etc/colorgcc/colorgccrc ]; then
for i in g++ gcc c++ cc; do
sed "s|^${i}:.*|${i}: ccache /usr/bin/${i}|g" -i /etc/colorgcc/colorgccrc
done
fi
for user in `getent group admin | sed "s/.*\://" | sed "s/,/ /g"`; do usermod $user -a -G ccache; done
|