summaryrefslogtreecommitdiffstats
path: root/colorgcc/post-install
blob: 715cffd94b968f129e8716cd82985b618f86d6d7 (plain)
1
2
3
4
5
6
#!/bin/bash
if [ -x /usr/bin/ccache ]; then
	for i in g++ gcc c++ cc; do
		sed "s|${i}:.*|${i}: ccache /usr/bin/${i}|g" -i /etc/colorgcc/colorgccrc
	done
fi